[llvm] r343893 - Specify -mtriple=x86_64 in an X86-specific dwarf test

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 5 14:54:59 PDT 2018


Author: vedantk
Date: Fri Oct  5 14:54:58 2018
New Revision: 343893

URL: http://llvm.org/viewvc/llvm-project?rev=343893&view=rev
Log:
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.

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

Modified: llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll?rev=343893&r1=343892&r2=343893&view=diff
==============================================================================
--- llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll (original)
+++ llvm/trunk/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll Fri Oct  5 14:54:58 2018
@@ -13,8 +13,8 @@
 ; UNSUPPORTED: cygwin,windows-gnu,windows-msvc
 
 ; REQUIRES: object-emission
-; RUN: %llc_dwarf < %s -o - | FileCheck %s -check-prefix=ASM
-; RUN: %llc_dwarf < %s -filetype=obj -o %t.o
+; RUN: %llc_dwarf -mtriple=x86_64-- < %s -o - | FileCheck %s -check-prefix=ASM
+; RUN: %llc_dwarf -mtriple=x86_64-- < %s -filetype=obj -o %t.o
 ; RUN: llvm-dwarfdump %t.o -o - | FileCheck %s -check-prefix=OBJ -implicit-check-not=DW_TAG_call_site
 ; RUN: llvm-dwarfdump -verify %t.o 2>&1 | FileCheck %s -check-prefix=VERIFY
 ; RUN: llvm-dwarfdump -statistics %t.o | FileCheck %s -check-prefix=STATS




More information about the llvm-commits mailing list