diff options
author | Fangrui Song <i@maskray.me> | 2021-02-17 23:17:20 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-02-17 23:17:20 -0800 |
commit | 018a484cd26d72fb4c9e7fd75e5f5bc7838dfc73 (patch) | |
tree | 47807519e4b48d747a49731ad145530d0ee22e1d /llvm/lib/CodeGen/PrologEpilogInserter.cpp | |
parent | 78d693faecf98718dadfa6e39f291e5999f380c7 (diff) | |
download | llvm-018a484cd26d72fb4c9e7fd75e5f5bc7838dfc73.zip llvm-018a484cd26d72fb4c9e7fd75e5f5bc7838dfc73.tar.gz llvm-018a484cd26d72fb4c9e7fd75e5f5bc7838dfc73.tar.bz2 |
[llvm-objdump] Map STT_TLS to ST_Other (previously ST_Data)
ST_Data is used to model BFD `BFD_OBJECT`.
A STT_TLS symbol does not have the `BFD_OBJECT` flag in BFD.
This makes sense because a STT_TLS symbol is like in a different address space,
normal data/object properties do not apply on them.
With this change, a STT_TLS symbol will not be displayed as 'O'.
This new behavior matches objdump.
Differential Revision: https://reviews.llvm.org/D96735
Diffstat (limited to 'llvm/lib/CodeGen/PrologEpilogInserter.cpp')
0 files changed, 0 insertions, 0 deletions