[PATCH] D45869: [DebugInfo] Fix for split dwarf test on Windows (NFC)

Andrew Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 20 03:31:40 PDT 2018


andrewng created this revision.
andrewng added a reviewer: labath.
Herald added subscribers: JDevlieghere, aprantl.

On Windows, %llc_dwarf automatically adds -mtriple causing this test to
error. Changed %llc_dwarf to llc.


https://reviews.llvm.org/D45869

Files:
  test/DebugInfo/X86/debug-names-split-dwarf.ll


Index: test/DebugInfo/X86/debug-names-split-dwarf.ll
===================================================================
--- test/DebugInfo/X86/debug-names-split-dwarf.ll
+++ test/DebugInfo/X86/debug-names-split-dwarf.ll
@@ -1,7 +1,7 @@
 ; REQUIRES: object-emission
 
 ; Verify that DWARF v5 accelerator tables work with split-dwarf.
-; RUN: %llc_dwarf -mtriple x86_64-pc-linux -split-dwarf-file=foo.dwo \
+; RUN: llc -mtriple x86_64-pc-linux -split-dwarf-file=foo.dwo \
 ; RUN:   -accel-tables=Dwarf -filetype=obj -o %t < %s
 ; RUN: llvm-dwarfdump -debug-names - <%t | FileCheck %s
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45869.143281.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180420/d806dfd1/attachment-0001.bin>


More information about the llvm-commits mailing list