From a9e8f7e0533811be2cd7c9a88d9058da8caa1d11 Mon Sep 17 00:00:00 2001 From: fche Date: Sat, 6 Oct 2007 02:42:29 +0000 Subject: PR1119: unused variable elision warnings 2007-10-05 Frank Ch. Eigler PR 1119 * elaborate.cxx (semantic_pass_opt[12]): Warn on elided variables/functions in user script. * session.h (suppress_warnings): New field. Change "timing" to plain old bool. * main.cxx (main): Configure warnings on by default. * stap.1.in: Document this. PR 1119. * systemtap.base/warnings.*: New test. * futexes.stp, sig_by_proc.stp, small_demos/rwtiming.stp: Fix elision warnings. --- stap.1.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'stap.1.in') diff --git a/stap.1.in b/stap.1.in index ffca672f..8b23c595 100644 --- a/stap.1.in +++ b/stap.1.in @@ -104,6 +104,9 @@ debbugging information for $target variables. .B \-u Unoptimized mode. Disable unused code elision during elaboration. .TP +.B \-w +Suppressed warnings mode. Disable warning messages for elided code in user script. +.TP .BI \-b Use bulk mode (percpu files) for kernel-to-user data transfer. .TP -- cgit