]> granicus.if.org Git - llvm/commit
Merging r195798:
authorBill Wendling <isanbard@gmail.com>
Wed, 27 Nov 2013 06:44:45 +0000 (06:44 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 27 Nov 2013 06:44:45 +0000 (06:44 +0000)
commit38af06736e6d46ef3d417e40b9843ca1658fc8e7
tree88b54325d96335cbc4e4b80e163003b2e80421f6
parent0ae07098f7d2ad5a1868d448d0b1b4eef2a3b091
Merging r195798:
------------------------------------------------------------------------
r195798 | rafael | 2013-11-26 17:18:37 -0800 (Tue, 26 Nov 2013) | 9 lines

Use simple section names for COMDAT sections on COFF.

With this patch we use simple names for COMDAT sections (like .text or .bss).
This matches the MSVC behavior.

When merging it is the COMDAT symbol that is used to decide if two sections
should be merged, so there is no point in building a fancy name.

This survived a bootstrap on mingw32.
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@195823 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
lib/MC/MCSectionCOFF.cpp
test/MC/COFF/tricky-names.ll
test/MC/COFF/weak-symbol.ll