diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-08-06 13:00:21 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-08-06 13:00:21 +0000 |
| commit | 0295edbfd556a78c6adb61d31202ebc20f60302b (patch) | |
| tree | a757d51d72c0ced6128a2b2a50a02f96e73bc56f /compiler-rt/lib/asan/asan_flags.h | |
| parent | 8f6dd3537cd42d60f70465ac13ae6841f0af2ac2 (diff) | |
| download | bcm5719-llvm-0295edbfd556a78c6adb61d31202ebc20f60302b.tar.gz bcm5719-llvm-0295edbfd556a78c6adb61d31202ebc20f60302b.zip | |
[ASan] add new ASan option 'strip_path_prefix' to remove useless prefices from filenames in stack traces
llvm-svn: 161321
Diffstat (limited to 'compiler-rt/lib/asan/asan_flags.h')
| -rw-r--r-- | compiler-rt/lib/asan/asan_flags.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/asan/asan_flags.h b/compiler-rt/lib/asan/asan_flags.h index ca9cf84ba6c..5c18a318174 100644 --- a/compiler-rt/lib/asan/asan_flags.h +++ b/compiler-rt/lib/asan/asan_flags.h @@ -87,6 +87,8 @@ struct Flags { // By default, disable core dumper on 64-bit - it makes little sense // to dump 16T+ core. bool disable_core; + // Strips this prefix from file paths in error reports. + const char *strip_path_prefix; }; Flags *flags(); |

