llvm-project/compiler-rt/lib/sanitizer_common/symbolizer
Vitaly Buka 8df3e1fd86 Add option to symbolize inline frames for InternalSymbolizer
Summary:
Currently, there is no way to let the `InternalSymbolizer` implemented
functions know if inline frames should be symbolized. This patch updates
the function `__sanitizer_symbolize_code` to include a parameter for
this ASAN option and toggle between LLVM symbolization functions when
appropriate.

Fixes the following two failing tests when internal symbolization is
enabled:
```
SanitizerCommon-*-x86_64-Linux :: print-stack-trace.cpp
SanitizerCommon-*-x86_64-Linux :: symbolize_pc_inline.cpp
```

Reviewers: vitalybuka, kcc, filcab

Reviewed By: vitalybuka

Subscribers: #sanitizers

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D79280
2020-06-23 19:56:53 -07:00
..
scripts [sanitizer] Update global_symbols.txt 2020-06-18 16:55:12 -07:00
sanitizer_symbolize.cpp Add option to symbolize inline frames for InternalSymbolizer 2020-06-23 19:56:53 -07:00
sanitizer_wrappers.cpp Summary: update macro for OFF_T so that sanitizer works on AARCH64. 2020-01-10 13:34:49 -08:00