diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-14 11:47:03 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2013-03-14 11:47:03 +0000 |
commit | 58b52b5efb7641b27c1728be0946889f335d83e1 (patch) | |
tree | 068139f62875a972c2180c9f0d37481023c0f338 /lib/msan/msan_flags.h | |
parent | 7cbbb2943527ff852bdace822c8592cfc7e450d7 (diff) |
[msan] Options for switching between fast and cfi unwinders in run time.
Does not change default behavior.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/msan/msan_flags.h')
-rw-r--r-- | lib/msan/msan_flags.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/msan/msan_flags.h b/lib/msan/msan_flags.h index 0c41c2eb2..cfaf96327 100644 --- a/lib/msan/msan_flags.h +++ b/lib/msan/msan_flags.h @@ -26,6 +26,10 @@ struct Flags { bool poison_in_malloc; // default: true bool report_umrs; const char *strip_path_prefix; + // Use fast (frame-pointer-based) unwinder on fatal errors (if available). + bool fast_unwind_on_fatal; + // Use fast (frame-pointer-based) unwinder on malloc/free (if available). + bool fast_unwind_on_malloc; }; Flags *flags(); |