llvm-6502/lib/CodeGen/AsmPrinter
Rafael Espindola 013321a0f9 Fix a few issues with comdat handling on COFF.
* Section association cannot use just the section name as many
sections can have the same name. With this patch, the comdat symbol in
an assoc section is interpreted to mean a symbol in the associated
section and the mapping is discovered from it.

* Comdat symbols were not being set correctly. Instead we were getting
whatever was output first for that section.

A consequence is that associative sections now must use .section to
set the association. Using .linkonce would not work since it is not
possible to change a sections comdat symbol (it is used to decide if
we should create a new section or reuse an existing one).

This includes r210298, which was reverted because it was asserting
on an associated section having the same comdat as the associated
section.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210367 91177308-0d34-0410-b5e6-96231b3b80d8
2014-06-06 19:26:12 +00:00
..
AddressPool.cpp
AddressPool.h
ARMException.cpp
AsmPrinter.cpp Fix a few issues with comdat handling on COFF. 2014-06-06 19:26:12 +00:00
AsmPrinterDwarf.cpp
AsmPrinterHandler.h
AsmPrinterInlineAsm.cpp
ByteStreamer.h
CMakeLists.txt
DbgValueHistoryCalculator.cpp
DbgValueHistoryCalculator.h
DebugLocEntry.h
DebugLocList.h
DIE.cpp
DIE.h
DIEHash.cpp
DIEHash.h
DwarfAccelTable.cpp
DwarfAccelTable.h
DwarfCFIException.cpp
DwarfDebug.cpp Fix null dereference with -debug-only=dwarfdebug 2014-06-05 23:10:19 +00:00
DwarfDebug.h DebugInfo: Reuse existing LexicalScope to retrieve the scope's MDNode, rather than looking it up through the DebugLoc. 2014-06-05 01:30:50 +00:00
DwarfException.cpp
DwarfException.h
DwarfFile.cpp
DwarfFile.h
DwarfStringPool.cpp
DwarfStringPool.h
DwarfUnit.cpp Revert r210221 again, due to a crash Richard Smith has provided involving self-hosting LLVM with libc++. 2014-06-05 02:04:59 +00:00
DwarfUnit.h
ErlangGCPrinter.cpp
LLVMBuild.txt
Makefile
OcamlGCPrinter.cpp
Win64Exception.cpp
WinCodeViewLineTables.cpp
WinCodeViewLineTables.h