diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-30 18:12:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-30 18:12:35 +0000 |
commit | 1875ce4ad95b8dc7aa7a0ab50a9bf93fb84d50bf (patch) | |
tree | 7af0e5200730f4bd38bb0d6764b5c1c35df30cf8 /test/CodeGen/X86/global-sections.ll | |
parent | 7e701979ad20796bc930b21de3888ccfa0d8b33d (diff) | |
download | llvm-1875ce4ad95b8dc7aa7a0ab50a9bf93fb84d50bf.tar.gz llvm-1875ce4ad95b8dc7aa7a0ab50a9bf93fb84d50bf.tar.bz2 llvm-1875ce4ad95b8dc7aa7a0ab50a9bf93fb84d50bf.tar.xz |
two changes:
1) nuke ConstDataCoalSection, which is dead.
2) revise my previous patch for rdar://8018335,
which was completely wrong. Specifically, it doesn't
make sense to mark __TEXT,__const_coal as PURE_INSTRUCTIONS,
because it is for readonly data. templates (it turns out)
go to const_coal_nt. The real fix for rdar://8018335 was
to give ConstTextCoalSection a section kind of ReadOnly
instead of Text.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112496 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/global-sections.ll')
-rw-r--r-- | test/CodeGen/X86/global-sections.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/X86/global-sections.ll b/test/CodeGen/X86/global-sections.ll index 2d8f429eff..6d211913b0 100644 --- a/test/CodeGen/X86/global-sections.ll +++ b/test/CodeGen/X86/global-sections.ll @@ -20,7 +20,7 @@ ; TODO: linux drops this into .rodata, we drop it into ".gnu.linkonce.r.G2" -; DARWIN: .section __TEXT,__const_coal,coalesced,pure_instructions +; DARWIN: .section __TEXT,__const_coal,coalesced ; DARWIN: _G2: ; DARWIN: .long 42 @@ -85,7 +85,7 @@ ; LINUX: .byte 1 ; LINUX: .size G6, 1 -; DARWIN: .section __TEXT,__const_coal,coalesced,pure_instructions +; DARWIN: .section __TEXT,__const_coal,coalesced ; DARWIN: .globl _G6 ; DARWIN: .weak_definition _G6 ; DARWIN:_G6: |