summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/LangStandards.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-08-07 07:46:29 +0000
committerHans Wennborg <hans@hanshq.net>2018-08-07 07:46:29 +0000
commit1c21f5b4292dc4bd99e05c5bd397a4fea9468954 (patch)
tree2117d80a44fcc54f11bbf439e2c28a73fbaa72d4 /clang/lib/Frontend/LangStandards.cpp
parent57c21c9592ce63af90556aeb0c37805f20c2d19a (diff)
downloadbcm5719-llvm-1c21f5b4292dc4bd99e05c5bd397a4fea9468954.tar.gz
bcm5719-llvm-1c21f5b4292dc4bd99e05c5bd397a4fea9468954.zip
Merging r339058:
------------------------------------------------------------------------ r339058 | mstorsjo | 2018-08-06 23:26:09 +0200 (Mon, 06 Aug 2018) | 16 lines [COFF] Treat .xdata/.pdata$<sym> as implicitly associative to <sym> for MinGW MinGW configurations don't use associative comdats, as GNU ld doesn't support that. Instead they produce normal comdats named .text$sym, .xdata$sym and .pdata$sym. GNU ld doesn't discard any comdats starting with .xdata or .pdata, even if --gc-sections is used (while it does discard other unreferenced comdats), regardless of what symbol name is used after the $ separator. For LLD, treat any such comdat as implicitly associative to the base symbol. This requires maintaining a map from symbol name to section number, but that is only maintained when the MinGW flag has been enabled. Differential Revision: https://reviews.llvm.org/D49700 ------------------------------------------------------------------------ llvm-svn: 339108
Diffstat (limited to 'clang/lib/Frontend/LangStandards.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud