diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-01-19 15:16:06 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-01-19 15:16:06 +0000 |
commit | 12ca34f53ff8449283fc6a0e1c6ab1f739f3158f (patch) | |
tree | 7111e41e96418557739ded39df43dfda8ea85583 /llvm/test/CodeGen/ARM/section-name.ll | |
parent | cc5e40811b1572b0a1d19ab370cabf1efe6c4f39 (diff) | |
download | bcm5719-llvm-12ca34f53ff8449283fc6a0e1c6ab1f739f3158f.tar.gz bcm5719-llvm-12ca34f53ff8449283fc6a0e1c6ab1f739f3158f.zip |
Bring r226038 back.
No change in this commit, but clang was changed to also produce trivial comdats 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: 226467
Diffstat (limited to 'llvm/test/CodeGen/ARM/section-name.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/section-name.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/ARM/section-name.ll b/llvm/test/CodeGen/ARM/section-name.ll index a0aad4733bc..a4c6054197f 100644 --- a/llvm/test/CodeGen/ARM/section-name.ll +++ b/llvm/test/CodeGen/ARM/section-name.ll @@ -16,7 +16,7 @@ entry: ret void } -; CHECK: .section .text.test3,"axG",%progbits,test3,comdat +; CHECK: .text ; CHECK: .weak test3 ; CHECK: .type test3,%function define linkonce_odr void @test3() { |