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
Loading
Please sign in to comment