diff options
Diffstat (limited to 'llvm/test/Bitcode/attributes.ll')
-rw-r--r-- | llvm/test/Bitcode/attributes.ll | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/attributes.ll b/llvm/test/Bitcode/attributes.ll index 8c74b3fb36b..de3cf8dd4d7 100644 --- a/llvm/test/Bitcode/attributes.ll +++ b/llvm/test/Bitcode/attributes.ll @@ -204,7 +204,7 @@ define void @f34() ; CHECK: define void @f34() { call void @nobuiltin() nobuiltin -; CHECK: call void @nobuiltin() #35 +; CHECK: call void @nobuiltin() #36 ret void; } @@ -345,6 +345,12 @@ define void @f58() sanitize_hwaddress ret void; } +; CHECK: define void @f59() #35 +define void @f59() shadowcallstack +{ + ret void +} + ; CHECK: attributes #0 = { noreturn } ; CHECK: attributes #1 = { nounwind } ; CHECK: attributes #2 = { readnone } @@ -380,4 +386,5 @@ define void @f58() sanitize_hwaddress ; CHECK: attributes #32 = { writeonly } ; CHECK: attributes #33 = { speculatable } ; CHECK: attributes #34 = { sanitize_hwaddress } -; CHECK: attributes #35 = { nobuiltin } +; CHECK: attributes #35 = { shadowcallstack } +; CHECK: attributes #36 = { nobuiltin } |