Skip to content

Commit 0fea2f5

Browse files
committed
Specify -mtriple=x86_64 in an X86-specific dwarf test
On the PPC bot, the %llc_dwarf substitution does not contain an -mtriple argument. This can cause the wrong backend to be exercised. This causes issues because the backends differ in when they decide to emit tail calls: http://lab.llvm.org:8011/builders/clang-ppc64be-linux-multistage/builds/12440 This is mostly a speculative fix as I don't have a PPC machine to test with. llvm-svn: 343893
1 parent 49bf370 commit 0fea2f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
; UNSUPPORTED: cygwin,windows-gnu,windows-msvc
1414

1515
; REQUIRES: object-emission
16-
; RUN: %llc_dwarf < %s -o - | FileCheck %s -check-prefix=ASM
17-
; RUN: %llc_dwarf < %s -filetype=obj -o %t.o
16+
; RUN: %llc_dwarf -mtriple=x86_64-- < %s -o - | FileCheck %s -check-prefix=ASM
17+
; RUN: %llc_dwarf -mtriple=x86_64-- < %s -filetype=obj -o %t.o
1818
; RUN: llvm-dwarfdump %t.o -o - | FileCheck %s -check-prefix=OBJ -implicit-check-not=DW_TAG_call_site
1919
; RUN: llvm-dwarfdump -verify %t.o 2>&1 | FileCheck %s -check-prefix=VERIFY
2020
; RUN: llvm-dwarfdump -statistics %t.o | FileCheck %s -check-prefix=STATS

0 commit comments

Comments
 (0)