diff options
author | Fangrui Song <i@maskray.me> | 2021-02-11 19:22:44 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-02-11 19:22:44 -0800 |
commit | 92ee3dd95dc666df7c37ccdf3037ced921a519e6 (patch) | |
tree | b0faaddfd87dc7c3c63c068aa12d60105b5f6820 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | e3cd3a3c91524c957e06bb0170343548f02b6842 (diff) | |
download | llvm-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