diff options
author | Markus Böck <markus.boeck02@gmail.com> | 2020-01-23 10:43:56 +0200 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2020-01-23 18:25:01 +0100 |
commit | 5d37ce7e19c9961b45bef2f2f66805f4a8f02daf (patch) | |
tree | 666a694fb12b5518fdb5a74d1d825c207207b0bb /lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py | |
parent | 85ee70e86456e3bcb3c706c404db497c5a448602 (diff) | |
download | bcm5719-llvm-5d37ce7e19c9961b45bef2f2f66805f4a8f02daf.tar.gz bcm5719-llvm-5d37ce7e19c9961b45bef2f2f66805f4a8f02daf.zip |
[LLD][COFF] Enable linking of __declspec(selectany) symbols from Clang and GCC
When annotating a symbol with __declspec(selectany), Clang assigns it
comdat 2 while GCC assigns it comdat 3. This patch enables two object
files that contain a __declspec(selectany) symbol, one created by gcc
and the other by clang, to be linked together instead of issuing a
duplicate symbol error.
Differential Revision: https://reviews.llvm.org/D73139
(cherry picked from commit 9dbc1ab23268abce5db98ad9a1e3aef89c371524)
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lang/cpp/bitfields/TestCppBitfields.py')
0 files changed, 0 insertions, 0 deletions