]> granicus.if.org Git - llvm/commitdiff
[DebugInfo] Explicitly pass a triple to this test.
authorDavide Italiano <davide@freebsd.org>
Thu, 7 Dec 2017 01:22:10 +0000 (01:22 +0000)
committerDavide Italiano <davide@freebsd.org>
Thu, 7 Dec 2017 01:22:10 +0000 (01:22 +0000)
As we emit different linetables format on different operating
systems, this currently fails on linux. Speculative commit
to fix the bots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319997 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/Generic/nodebug.ll

index a911cf13dffe5867fffa8493ecfb1f00bff358ea..67dd6549a4c749c56a94a8fca294c45f41bf4ae5 100644 (file)
@@ -1,6 +1,6 @@
 ; REQUIRES: object-emission
 
-; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck %s
+; RUN: %llc_dwarf < %s -filetype=obj -mtriple=x86_64-apple-darwin | llvm-dwarfdump -v - | FileCheck %s
 
 ; Test that a nodebug function (a function not appearing in the debug info IR
 ; metadata subprogram list) with DebugLocs on its IR doesn't cause crashes/does