summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/asan/asan_stack.cc
diff options
context:
space:
mode:
authorSergey Matveev <earthdok@google.com>2013-05-06 11:27:58 +0000
committerSergey Matveev <earthdok@google.com>2013-05-06 11:27:58 +0000
commit0c8ed9ce4446eddfc33977f92cd415f5cabdc5cf (patch)
tree66602358f607bb2232799b0010ea2fc03325191c /compiler-rt/lib/asan/asan_stack.cc
parent509c240ce5ef67d1bc9727841e1c827cb5d6b569 (diff)
downloadbcm5719-llvm-0c8ed9ce4446eddfc33977f92cd415f5cabdc5cf.tar.gz
bcm5719-llvm-0c8ed9ce4446eddfc33977f92cd415f5cabdc5cf.zip
[asan] Common flags in ASan.
Some flags that are common to ASan/MSan/TSan/LSan have been moved to sanitizer_common. llvm-svn: 181193
Diffstat (limited to 'compiler-rt/lib/asan/asan_stack.cc')
-rw-r--r--compiler-rt/lib/asan/asan_stack.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_stack.cc b/compiler-rt/lib/asan/asan_stack.cc
index de125f0b310..21dae7df096 100644
--- a/compiler-rt/lib/asan/asan_stack.cc
+++ b/compiler-rt/lib/asan/asan_stack.cc
@@ -14,6 +14,7 @@
#include "asan_internal.h"
#include "asan_flags.h"
#include "asan_stack.h"
+#include "sanitizer_common/sanitizer_flags.h"
namespace __asan {
@@ -24,8 +25,8 @@ static bool MaybeCallAsanSymbolize(const void *pc, char *out_buffer,
}
void PrintStack(StackTrace *stack) {
- stack->PrintStack(stack->trace, stack->size, flags()->symbolize,
- flags()->strip_path_prefix, MaybeCallAsanSymbolize);
+ stack->PrintStack(stack->trace, stack->size, common_flags()->symbolize,
+ common_flags()->strip_path_prefix, MaybeCallAsanSymbolize);
}
} // namespace __asan
OpenPOWER on IntegriCloud