aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-02-11 19:22:44 -0800
committerFangrui Song <i@maskray.me>2021-02-11 19:22:44 -0800
commit92ee3dd95dc666df7c37ccdf3037ced921a519e6 (patch)
treeb0faaddfd87dc7c3c63c068aa12d60105b5f6820 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parente3cd3a3c91524c957e06bb0170343548f02b6842 (diff)
downloadllvm-92ee3dd95dc666df7c37ccdf3037ced921a519e6.zip
llvm-92ee3dd95dc666df7c37ccdf3037ced921a519e6.tar.gz
llvm-92ee3dd95dc666df7c37ccdf3037ced921a519e6.tar.bz2
DebugInfo/Symbolize: Don't differentiate function/data symbolization
Before d08bd13ac8a560c4645e17e192ca07e1bdcd2895, only `SymbolRef::ST_Function` symbols were used for .symtab symbolization. That commit added a `"DATA"` mode to llvm-symbolizer which used `SymbolRef::ST_Data` symbols for symbolization. Since function and data symbols have different addresses, we don't need to differentiate the two modes. This patches unifies the two modes to simplify code. `"DATA"` is used by `compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_libcdep.cpp`. `check-hwasan` and `check-tsan` have runtime tests. Differential Revision: https://reviews.llvm.org/D96322
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions