diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:21:42 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-20 07:21:42 +0000 |
commit | 90bc19cd914c9870c1d1701b3a3e290b135c63b6 (patch) | |
tree | 7736dc6d4af8aa2de18f78a625376295275cbd6a /llvm/test/Assembler/unnamed-addr.ll | |
parent | 8e60d4d240ebf86f8cc62d9a638f816ac255b875 (diff) | |
download | bcm5719-llvm-90bc19cd914c9870c1d1701b3a3e290b135c63b6.tar.gz bcm5719-llvm-90bc19cd914c9870c1d1701b3a3e290b135c63b6.zip |
Modify the LLVM assembly output so that it uses references to represent function attributes.
This makes the LLVM assembly look better. E.g.:
define void @foo() #0 { ret void }
attributes #0 = { nounwind noinline ssp }
llvm-svn: 175605
Diffstat (limited to 'llvm/test/Assembler/unnamed-addr.ll')
-rw-r--r-- | llvm/test/Assembler/unnamed-addr.ll | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/test/Assembler/unnamed-addr.ll b/llvm/test/Assembler/unnamed-addr.ll index 3c94ca21308..35b3b39ce48 100644 --- a/llvm/test/Assembler/unnamed-addr.ll +++ b/llvm/test/Assembler/unnamed-addr.ll @@ -15,4 +15,6 @@ declare i32 @zed(%struct.foobar*, %struct.foobar*) ; CHECK: @bar.d = internal unnamed_addr constant %struct.foobar zeroinitializer, align 4 ; CHECK: @foo.d = internal constant %struct.foobar zeroinitializer, align 4 -; CHECK: define i32 @main() unnamed_addr nounwind ssp { +; CHECK: define i32 @main() unnamed_addr #0 { + +; CHECK: attributes #0 = { nounwind ssp } |