1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-22 04:22:57 +02:00
llvm-mirror/lib/CodeGen/AsmPrinter
David Majnemer 174ea5bfc4 [X86] Use the correct alignment for COMDAT constant pool entries
COFF doesn't have sections with mergeable contents.  Instead, each
constant pool entry ends up in a COMDAT section.  The linker, when
choosing between COMDAT sections, doesn't choose the max alignment of
the two sections.  You just get whatever alignment was on the section.

If one constant needed a higher alignment in one object file from
another one, then we will get into trouble if the linker chooses the
lower alignment one.

Instead, lets promote the alignment of the constant pool entry to make
sure we don't use an under aligned constant with an instruction which
assumed otherwise.

This fixes PR26680.

llvm-svn: 261462
2016-02-21 01:30:30 +00:00
..
AddressPool.cpp
AddressPool.h One more batch of self-containing headers. 2016-01-27 19:29:56 +00:00
ARMException.cpp
AsmPrinter.cpp [X86] Use the correct alignment for COMDAT constant pool entries 2016-02-21 01:30:30 +00:00
AsmPrinterDwarf.cpp Generalize ownership/passing semantics to allow dsymutil to own abbreviations via unique_ptr 2015-11-18 00:34:10 +00:00
AsmPrinterHandler.h [WinEH] Teach AsmPrinter about funclets 2015-09-29 20:12:33 +00:00
AsmPrinterInlineAsm.cpp Enable the %s modifier in inline asm template string 2016-02-04 16:18:08 +00:00
ByteStreamer.h
CMakeLists.txt [codeview] Describe int local variables using .cv_def_range 2016-02-10 20:55:49 +00:00
CodeViewDebug.cpp [codeview] Bail on a DBG_VALUE register operand with no register 2016-02-16 21:49:26 +00:00
CodeViewDebug.h [codeview] Describe local variables in registers 2016-02-12 21:48:30 +00:00
DbgValueHistoryCalculator.cpp
DbgValueHistoryCalculator.h One more batch of self-containing headers. 2016-01-27 19:29:56 +00:00
DebugHandlerBase.cpp [codeview] Describe int local variables using .cv_def_range 2016-02-10 20:55:49 +00:00
DebugHandlerBase.h Make header self-contained. NFC. 2016-02-18 18:02:48 +00:00
DebugLocEntry.h [DwarfDebug] Move MergeValues to .cpp, NFC 2016-01-16 01:11:33 +00:00
DebugLocStream.cpp
DebugLocStream.h
DIE.cpp DwarfDebug: emit type units immediately. 2016-02-11 19:57:46 +00:00
DIEHash.cpp DwarfDebug: emit type units immediately. 2016-02-11 19:57:46 +00:00
DIEHash.h [AsmPrinter] Prune dead code. NFC. 2015-10-15 17:16:32 +00:00
DwarfAccelTable.cpp Fix some Clang-tidy modernize warnings, other minor fixes. 2015-11-04 22:32:32 +00:00
DwarfAccelTable.h
DwarfCFIException.cpp
DwarfCompileUnit.cpp DwarfDebug: Don't drop the DIExpression just because a variable is 2016-02-17 22:20:08 +00:00
DwarfCompileUnit.h DwarfDebug: emit type units immediately. 2016-02-11 19:57:46 +00:00
DwarfDebug.cpp DwarfDebug: emit type units immediately. 2016-02-11 19:57:46 +00:00
DwarfDebug.h DbgVariable: Add an accessor for the common case of a single expression 2016-02-17 22:19:59 +00:00
DwarfException.h
DwarfExpression.cpp Fix debug info with SafeStack. 2015-09-30 19:55:43 +00:00
DwarfExpression.h
DwarfFile.cpp DwarfDebug: emit type units immediately. 2016-02-11 19:57:46 +00:00
DwarfFile.h DwarfDebug: emit type units immediately. 2016-02-11 19:57:46 +00:00
DwarfStringPool.cpp
DwarfStringPool.h
DwarfUnit.cpp DwarfDebug: emit type units immediately. 2016-02-11 19:57:46 +00:00
DwarfUnit.h DwarfDebug: emit type units immediately. 2016-02-11 19:57:46 +00:00
EHStreamer.cpp
EHStreamer.h [WinEH] Emit __C_specific_handler tables for the new IR 2015-10-01 21:38:24 +00:00
ErlangGCPrinter.cpp
LLVMBuild.txt Reland "[CodeView] Use assembler directives for line tables" 2016-01-29 00:49:42 +00:00
OcamlGCPrinter.cpp
WinException.cpp [WinEH] Update CoreCLR EH state numbering 2016-01-04 16:16:01 +00:00
WinException.h [WinEH] Move WinEHFuncInfo from MachineModuleInfo to MachineFunction 2015-11-17 21:10:25 +00:00