diff options
author | Fangrui Song <i@maskray.me> | 2022-03-14 12:00:15 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-03-14 12:00:15 -0700 |
commit | c7cf960d859bcfe166860fc1c4eba9665693ad51 (patch) | |
tree | 5588a9682400c0c43f9cd050740003db7cbf46f9 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 3466b8e23d9c1e2604bf366e208cff887070a4ff (diff) | |
download | llvm-c7cf960d859bcfe166860fc1c4eba9665693ad51.zip llvm-c7cf960d859bcfe166860fc1c4eba9665693ad51.tar.gz llvm-c7cf960d859bcfe166860fc1c4eba9665693ad51.tar.bz2 |
[ELF] Set the priority of STB_GNU_UNIQUE the same as STB_WEAK
In GCC -fgnu-unique output, STB_GNU_UNIQUE symbols are always defined relative
to a section in a COMDAT group. Currently `other` cannot be STB_GNU_UNIQUE for
valid input, so this patch is NFC.
If we switch to the model that ignores COMDAT resolution when performing symbol
resolution (D120626), this will fix bogus `relocation refers to a symbol in a
discarded section` errors when mixing -fno-gnu-unique objects with -fgnu-unique
objects.
Differential Revision: https://reviews.llvm.org/D120640
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions