diff options
| author | Jessica Paquette <jpaquette@apple.com> | 2018-04-10 17:32:12 +0000 |
|---|---|---|
| committer | Jessica Paquette <jpaquette@apple.com> | 2018-04-10 17:32:12 +0000 |
| commit | cda4add21bcd8a2cf1ce91195b1b01162ec264dc (patch) | |
| tree | d4933d2a8f827202c70d960b5a74b0d740486014 /llvm/test | |
| parent | 8c7121b3a669b4370cb53af78429c23a1532721b (diff) | |
| download | bcm5719-llvm-cda4add21bcd8a2cf1ce91195b1b01162ec264dc.tar.gz bcm5719-llvm-cda4add21bcd8a2cf1ce91195b1b01162ec264dc.zip | |
Fix test failure in arm64-no-section.ll
There was a missing not line. Also, tail call before ret -> call before ret.
llvm-svn: 329723
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/AArch64/arm64-no-section.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/MC/AArch64/arm64-no-section.ll b/llvm/test/MC/AArch64/arm64-no-section.ll index 928453c3876..60e1e282b16 100644 --- a/llvm/test/MC/AArch64/arm64-no-section.ll +++ b/llvm/test/MC/AArch64/arm64-no-section.ll @@ -1,10 +1,10 @@ -; RUN: llc -mtriple=aarch64-darwin-- -filetype=obj %s -o - +; RUN: not llc -mtriple=aarch64-darwin-- -filetype=obj %s -o /dev/null ; CHECK: <inline asm>:1:2: error: unsupported relocation of local symbol ; CHECK-SAME: 'L_foo_end'. Must have non-local symbol earlier in section. ; Make sure that we emit an error when we try to reference something that ; doesn't belong to a section. define void @foo() local_unnamed_addr { - tail call void asm sideeffect "b L_foo_end\0A", ""() + call void asm sideeffect "b L_foo_end\0A", ""() ret void } |

