[llvm] r194465 - XCore target test for hidden declaration
Robert Lytton
robert at xmos.com
Tue Nov 12 02:11:31 PST 2013
Author: rlytton
Date: Tue Nov 12 04:11:30 2013
New Revision: 194465
URL: http://llvm.org/viewvc/llvm-project?rev=194465&view=rev
Log:
XCore target test for hidden declaration
Modified:
llvm/trunk/test/CodeGen/XCore/linkage.ll
Modified: llvm/trunk/test/CodeGen/XCore/linkage.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/XCore/linkage.ll?rev=194465&r1=194464&r2=194465&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/XCore/linkage.ll (original)
+++ llvm/trunk/test/CodeGen/XCore/linkage.ll Tue Nov 12 04:11:30 2013
@@ -6,8 +6,10 @@ define weak void @fd() {
ret void
}
-; CHECK-NOT: .hidden
+; CHECK-NOT: .hidden test_hidden
+declare hidden void @test_hidden_declaration()
define hidden void @test_hidden() {
+ call void @test_hidden_declaration()
unreachable
}
@@ -26,6 +28,8 @@ define protected void @test_protected()
; CHECK: .weak gd
@gd = weak global i32 0
+; CHECK-NOT: .hidden test_hidden_declaration
+
; CHECK: .weak gr
@gr = extern_weak global i32
More information about the llvm-commits
mailing list