fix the definitions of ConstTextCoalSection/ConstDataCoalSection
authorChris Lattner <sabre@nondot.org>
Thu, 15 Jul 2010 21:22:00 +0000 (21:22 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 15 Jul 2010 21:22:00 +0000 (21:22 +0000)
commit6a624a65f47c850bbcbfc7eff4fd057be824027c
tree0dbffe8ceb8129a64a6e2e258b8487d4ec3a8cd4
parenta955853961da51330995b48329e61131235b166c
fix the definitions of ConstTextCoalSection/ConstDataCoalSection
to keep "Text" in sync with the "pure instructions" section attribute.
Lack of this attribute was preventing the assembler from emitting
multibyte noops instructions for templates (and inlines, and other
coalesced stuff) and was causing the assembler to mismatch .o files.

This fixes rdar://8018335

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108461 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/CodeGen/X86/global-sections.ll