llvm-capstone/compiler-rt
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
..
cmake [builtins][Android] Fix 386->686 adjustment 2020-06-19 16:08:20 -07:00
docs
include [profile] Sync InstrProfData.inc with llvm. 2020-06-03 10:00:11 -07:00
lib Add option to symbolize inline frames for InternalSymbolizer 2020-06-23 19:56:53 -07:00
test test/msan/sigwait: Don't silently ignore assertion failures 2020-06-23 14:10:51 -07:00
tools
unittests
utils
www
.gitignore
CMakeLists.txt build: use Python3 for compiler-rt 2020-04-28 17:29:04 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt

Compiler-RT
================================

This directory and its subdirectories contain source code for the compiler
support routines.

Compiler-RT is open source software. You may freely distribute it under the
terms of the license agreement found in LICENSE.txt.

================================