summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/hidden-vis.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-12-06 02:00:55 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-12-06 02:00:55 +0000
commitab85feb91c83df89f445f7e2ae92163e84880a34 (patch)
tree5fb08a6506d37688d81d5d8e5a4a09f6a8d0894d /llvm/test/CodeGen/ARM/hidden-vis.ll
parent5a3422f6029f8e3d3ab62c3ffd491195485a67e7 (diff)
downloadbcm5719-llvm-ab85feb91c83df89f445f7e2ae92163e84880a34.tar.gz
bcm5719-llvm-ab85feb91c83df89f445f7e2ae92163e84880a34.zip
Clean up some ARM GV asm printing out; minor fixes to match what gcc does.
llvm-svn: 60621
Diffstat (limited to 'llvm/test/CodeGen/ARM/hidden-vis.ll')
-rw-r--r--llvm/test/CodeGen/ARM/hidden-vis.ll18
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/ARM/hidden-vis.ll b/llvm/test/CodeGen/ARM/hidden-vis.ll
new file mode 100644
index 00000000000..93f81ecdae0
--- /dev/null
+++ b/llvm/test/CodeGen/ARM/hidden-vis.ll
@@ -0,0 +1,18 @@
+; RUN: llvm-as < %s | llc -mtriple=arm-apple-darwin | \
+; RUN: grep .private_extern | count 2
+
+%struct.Person = type { i32 }
+@a = hidden global i32 0
+@b = external global i32
+
+
+define weak hidden void @_ZN6Person13privateMethodEv(%struct.Person* %this) {
+ ret void
+}
+
+declare void @function(i32)
+
+define weak void @_ZN6PersonC1Ei(%struct.Person* %this, i32 %_c) {
+ ret void
+}
+
OpenPOWER on IntegriCloud