summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/global-sections.ll
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-01-16 02:22:55 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-01-16 02:22:55 +0000
commit67a79e72f5d210d42bfb2ff1f0ed7a695c2cd1ec (patch)
tree150b052c60eafa8cf3b8ac63750d15aedfa5d34c /llvm/test/CodeGen/X86/global-sections.ll
parent15e9420f69933a9dc85dde62c481e5b9d3dea3e4 (diff)
downloadbcm5719-llvm-67a79e72f5d210d42bfb2ff1f0ed7a695c2cd1ec.tar.gz
bcm5719-llvm-67a79e72f5d210d42bfb2ff1f0ed7a695c2cd1ec.zip
Revert "Revert Don't create new comdats in CodeGen"
This reverts commit r226173, adding r226038 back. No change in this commit, but clang was changed to also produce trivial comdats for costructors, destructors and vtables when needed. Original message: Don't create new comdats in CodeGen. This patch stops the implicit creation of comdats during codegen. Clang now sets the comdat explicitly when it is required. With this patch clang and gcc now produce the same result in pr19848. llvm-svn: 226242
Diffstat (limited to 'llvm/test/CodeGen/X86/global-sections.ll')
-rw-r--r--llvm/test/CodeGen/X86/global-sections.ll2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/global-sections.ll b/llvm/test/CodeGen/X86/global-sections.ll
index fa1169d8a8e..24be27161f4 100644
--- a/llvm/test/CodeGen/X86/global-sections.ll
+++ b/llvm/test/CodeGen/X86/global-sections.ll
@@ -85,7 +85,6 @@ define void @F1() {
@"foo bar" = linkonce global i32 42
; LINUX: .type "foo bar",@object
-; LINUX: .section ".data.foo bar","aGw",@progbits,"foo bar",comdat
; LINUX: .weak "foo bar"
; LINUX: "foo bar":
@@ -98,7 +97,6 @@ define void @F1() {
@G6 = weak_odr unnamed_addr constant [1 x i8] c"\01"
; LINUX: .type G6,@object
-; LINUX: .section .rodata.G6,"aG",@progbits,G6,comdat
; LINUX: .weak G6
; LINUX: G6:
; LINUX: .byte 1
OpenPOWER on IntegriCloud