summaryrefslogtreecommitdiffstats
path: root/hash.cxx
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2009-04-01 22:50:47 -0400
committerFrank Ch. Eigler <fche@elastic.org>2009-04-01 22:52:33 -0400
commitdcfd7fed7088871f46d9da7183e485877fb2d81f (patch)
tree57a560603d3b095a9f3f2bc01500becdacf785d9 /hash.cxx
parent65ffc3f32328473cb74aa5c7eca7e46bb82bd7fb (diff)
downloadsystemtap-steved-dcfd7fed7088871f46d9da7183e485877fb2d81f.tar.gz
systemtap-steved-dcfd7fed7088871f46d9da7183e485877fb2d81f.tar.xz
systemtap-steved-dcfd7fed7088871f46d9da7183e485877fb2d81f.zip
PR10019: --skip-badvars to suppress run-time memory errors too
* NEWS: Note this change. * hash.cxx (find_script_hash): Add s.skip_badvars into hash. * translate.cxx (translate_pass): Emit STP_SKIP_BADVARS. * runtime/loc2c-runtime.h (DEREF_FAULT, STORE_DEREF_FAULT): Provide dummy implementation if STP_SKIP_BADVARS.
Diffstat (limited to 'hash.cxx')
-rw-r--r--hash.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/hash.cxx b/hash.cxx
index 3ff6848d..01013c43 100644
--- a/hash.cxx
+++ b/hash.cxx
@@ -174,6 +174,7 @@ find_script_hash (systemtap_session& s, const string& script, const hash &base)
h.add(s.ignore_vmlinux); // --ignore-vmlinux
h.add(s.ignore_dwarf); // --ignore-dwarf
h.add(s.consult_symtab); // --kelf, --kmap
+ h.add(s.skip_badvars); // --skip-badvars
if (!s.kernel_symtab_path.empty()) // --kmap
{
h.add(s.kernel_symtab_path);