[PATCH] D20259: ELF: Add a test showing that the new local_unnamed_addr attribute can permit internalization.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 14 14:09:09 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL272711: ELF: Add a test showing that the new local_unnamed_addr attribute can permit… (authored by pcc).
Changed prior to commit:
http://reviews.llvm.org/D20259?vs=57528&id=60748#toc
Repository:
rL LLVM
http://reviews.llvm.org/D20259
Files:
lld/trunk/test/ELF/lto/internalize-exportdyn.ll
Index: lld/trunk/test/ELF/lto/internalize-exportdyn.ll
===================================================================
--- lld/trunk/test/ELF/lto/internalize-exportdyn.ll
+++ lld/trunk/test/ELF/lto/internalize-exportdyn.ll
@@ -19,7 +19,11 @@
ret void
}
-define linkonce_odr void @zed() unnamed_addr {
+define linkonce_odr void @zed() local_unnamed_addr {
+ ret void
+}
+
+define linkonce_odr void @zed2() unnamed_addr {
ret void
}
@@ -38,5 +42,6 @@
; CHECK: define void @foo()
; CHECK: define internal void @bar()
; CHECK: define internal void @zed()
+; CHECK: define internal void @zed2()
; CHECK: define weak_odr void @bah()
; CHECK: define weak_odr void @baz()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20259.60748.patch
Type: text/x-patch
Size: 686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160614/20dca53f/attachment.bin>
More information about the llvm-commits
mailing list