Go to file
David Majnemer a3ea407d48 [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
clang Lex: Never overflow the file in HeaderMap::lookupFilename() 2016-02-21 00:14:36 +00:00
clang-tools-extra [clang-tidy] Describe modules, link to LLVM development docs, other minor updates 2016-02-20 11:42:13 +00:00
compiler-rt [CMake] Add partial support for MSVC in compiler-rt builtins, by Roman Shirokiy. 2016-02-20 12:56:04 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Add .gitignore for build directories 2016-02-17 00:27:31 +00:00
libcxx Rename <__hash_table> traits so they don't conflict with similar traits. 2016-02-20 07:59:16 +00:00
libcxxabi [libcxxabi] Teach cxa_demangle about Hexagon's long double size 2016-01-20 14:10:23 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Handle undef symbols in LTO. 2016-02-19 22:50:16 +00:00
lldb Fix Clang-tidy modernize-use-nullptr and modernize-use-default warnings in some files in source/Commands; other minor fixes. 2016-02-20 00:58:29 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm [X86] Use the correct alignment for COMDAT constant pool entries 2016-02-21 01:30:30 +00:00
openmp Remove unnecessary semicolons after braces 2016-02-18 19:38:25 +00:00
polly Introduce helper function to build isl_flow, NFC. 2016-02-20 14:45:48 +00:00