diff options
| author | Alexey Samsonov <samsonov@google.com> | 2013-12-19 11:08:47 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2013-12-19 11:08:47 +0000 |
| commit | cef2e14382f2c6371d9fa74a5156eb21ff29665a (patch) | |
| tree | 5b7434d7514f47bd99e55b281dbbfc5c6b593885 /compiler-rt/lib/asan/asan_stack.cc | |
| parent | 6164aa59695e9d424ea21c9eb7a0b93bd0236aa4 (diff) | |
| download | bcm5719-llvm-cef2e14382f2c6371d9fa74a5156eb21ff29665a.tar.gz bcm5719-llvm-cef2e14382f2c6371d9fa74a5156eb21ff29665a.zip | |
[ASan] Get rid of __asan_symbolize function
llvm-svn: 197670
Diffstat (limited to 'compiler-rt/lib/asan/asan_stack.cc')
| -rw-r--r-- | compiler-rt/lib/asan/asan_stack.cc | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/compiler-rt/lib/asan/asan_stack.cc b/compiler-rt/lib/asan/asan_stack.cc index 8934913f34b..31a59511f64 100644 --- a/compiler-rt/lib/asan/asan_stack.cc +++ b/compiler-rt/lib/asan/asan_stack.cc @@ -18,14 +18,8 @@ namespace __asan { -static bool MaybeCallAsanSymbolize(const void *pc, char *out_buffer, - int out_size) { - return (&__asan_symbolize) ? __asan_symbolize(pc, out_buffer, out_size) - : false; -} - void PrintStack(const uptr *trace, uptr size) { - StackTrace::PrintStack(trace, size, MaybeCallAsanSymbolize); + StackTrace::PrintStack(trace, size); } void PrintStack(StackTrace *stack) { @@ -36,16 +30,6 @@ void PrintStack(StackTrace *stack) { // ------------------ Interface -------------- {{{1 -// Provide default implementation of __asan_symbolize that does nothing -// and may be overriden by user if he wants to use his own symbolization. -// ASan on Windows has its own implementation of this. -#if !SANITIZER_SUPPORTS_WEAK_HOOKS -SANITIZER_INTERFACE_ATTRIBUTE SANITIZER_WEAK_ATTRIBUTE NOINLINE -bool __asan_symbolize(const void *pc, char *out_buffer, int out_size) { - return false; -} -#endif - extern "C" { SANITIZER_INTERFACE_ATTRIBUTE void __sanitizer_print_stack_trace() { |

