[llvm] r329723 - Fix test failure in arm64-no-section.ll
Jessica Paquette via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 10 10:32:12 PDT 2018
Author: paquette
Date: Tue Apr 10 10:32:12 2018
New Revision: 329723
URL: http://llvm.org/viewvc/llvm-project?rev=329723&view=rev
Log:
Fix test failure in arm64-no-section.ll
There was a missing not line. Also, tail call before ret -> call before ret.
Modified:
llvm/trunk/test/MC/AArch64/arm64-no-section.ll
Modified: llvm/trunk/test/MC/AArch64/arm64-no-section.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AArch64/arm64-no-section.ll?rev=329723&r1=329722&r2=329723&view=diff
==============================================================================
--- llvm/trunk/test/MC/AArch64/arm64-no-section.ll (original)
+++ llvm/trunk/test/MC/AArch64/arm64-no-section.ll Tue Apr 10 10:32:12 2018
@@ -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
}
More information about the llvm-commits
mailing list