diff options
| author | Alexey Samsonov <samsonov@google.com> | 2014-02-12 08:29:42 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2014-02-12 08:29:42 +0000 |
| commit | 7304b4201f7f5b64cb44c540d98182cea1f630da (patch) | |
| tree | aebab3e230b7ceb6e7bc88db4a435ef782e8dca3 /compiler-rt/lib/sanitizer_common/sanitizer_flags.h | |
| parent | c34a997669646c0f87f6eb63a57173f4e2e2ac71 (diff) | |
| download | bcm5719-llvm-7304b4201f7f5b64cb44c540d98182cea1f630da.tar.gz bcm5719-llvm-7304b4201f7f5b64cb44c540d98182cea1f630da.zip | |
[Sanitizer] Teach external symbolizer to work with addr2line if llvm-symbolizer is unavailable. Allow this mode in TSan.
llvm-svn: 201218
Diffstat (limited to 'compiler-rt/lib/sanitizer_common/sanitizer_flags.h')
| -rw-r--r-- | compiler-rt/lib/sanitizer_common/sanitizer_flags.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_flags.h b/compiler-rt/lib/sanitizer_common/sanitizer_flags.h index cf2066a148f..a580acad86c 100644 --- a/compiler-rt/lib/sanitizer_common/sanitizer_flags.h +++ b/compiler-rt/lib/sanitizer_common/sanitizer_flags.h @@ -30,6 +30,10 @@ struct CommonFlags { // in PATH. If it is empty (or if "symbolize" is false), external symbolizer // will not be started. const char *external_symbolizer_path; + // If set, allows online symbolizer to run addr2line binary to symbolize + // stack traces (addr2line will only be used if llvm-symbolizer binary is not + // available. + bool allow_addr2line; // Strips this prefix from file paths in error reports. const char *strip_path_prefix; // Use fast (frame-pointer-based) unwinder on fatal errors (if available). |

