summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/SourceLocationTest.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-06-05 23:09:25 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-06-05 23:09:25 +0000
commit942f4bc488e26b0f3c17b66c69c1eac049661e76 (patch)
tree6645b1033b0e7453916a1bef929f47f0f5336c45 /clang/unittests/AST/SourceLocationTest.cpp
parent72dfa16aa9f9cae748e13a9d2e7d633ff6379c2b (diff)
downloadbcm5719-llvm-942f4bc488e26b0f3c17b66c69c1eac049661e76.tar.gz
bcm5719-llvm-942f4bc488e26b0f3c17b66c69c1eac049661e76.zip
Correctly set the comdat symbol on COFF.
We extended the .section syntax to allow multiple sections with the same name but different comdats, but currently we don't make sure that the output section has that comdat symbol. That happens to work with the code llc produces currently because it looks like .section secName, "dr", one_only, "COMDATSym" .globl COMDATSym COMDATSym: .... but that is not very friendly to anyone coding in assembly or even to llc once we get comdat support in the IR. This patch changes the coff object writer to make sure the comdat symbol is output just after the section symbol, as required by the coff spec. llvm-svn: 210298
Diffstat (limited to 'clang/unittests/AST/SourceLocationTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud