diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-28 03:20:10 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-01-28 03:20:10 +0000 |
| commit | 6c17d54891d1166fef669cdefb7885801a884fd7 (patch) | |
| tree | 57fddb7ef4ec0c27f22cb1179ff39a4f7181b7cd /llvm/test/CodeGen | |
| parent | 4ada0d91644a3c273cfac93a6a12b22bc19a7436 (diff) | |
| download | bcm5719-llvm-6c17d54891d1166fef669cdefb7885801a884fd7.tar.gz bcm5719-llvm-6c17d54891d1166fef669cdefb7885801a884fd7.zip | |
Print the visibility of declarations.
llvm-svn: 124468
Diffstat (limited to 'llvm/test/CodeGen')
| -rw-r--r-- | llvm/test/CodeGen/X86/visibility.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/visibility.ll b/llvm/test/CodeGen/X86/visibility.ll new file mode 100644 index 00000000000..9153de46188 --- /dev/null +++ b/llvm/test/CodeGen/X86/visibility.ll @@ -0,0 +1,11 @@ +; RUN: llc %s -o - | FileCheck %s + +define hidden void @foo() nounwind { +entry: + call void @bar() + ret void +} + +declare hidden void @bar() + +;CHECK: .hidden bar |

