diff options
author | Robert Lytton <robert@xmos.com> | 2013-10-11 10:27:00 +0000 |
---|---|---|
committer | Robert Lytton <robert@xmos.com> | 2013-10-11 10:27:00 +0000 |
commit | 4315b2b50413da09c3ac9bce07c77842f02ac929 (patch) | |
tree | cd6351a538b19b57170da9627e33b7f2e584b17f /test/CodeGen | |
parent | fb312f9f5a9f8cd8be1dbeaf011768e186eb8f98 (diff) | |
download | external_llvm-4315b2b50413da09c3ac9bce07c77842f02ac929.zip external_llvm-4315b2b50413da09c3ac9bce07c77842f02ac929.tar.gz external_llvm-4315b2b50413da09c3ac9bce07c77842f02ac929.tar.bz2 |
XCore target does not emit '.hidden' or '.protected' attributes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen')
-rw-r--r-- | test/CodeGen/XCore/linkage.ll | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CodeGen/XCore/linkage.ll b/test/CodeGen/XCore/linkage.ll index 1291584..6599951 100644 --- a/test/CodeGen/XCore/linkage.ll +++ b/test/CodeGen/XCore/linkage.ll @@ -6,6 +6,16 @@ define weak void @fd() { ret void } +; CHECK-NOT: .hidden +define hidden void @test_hidden() { + unreachable +} + +; CHECK-NOT: .protected +define protected void @test_protected() { + unreachable +} + ; CHECK: .weak gd @gd = weak global i32 0 |