[llvm] a1c338d - DebugInfo: Fix convert-loclist.ll Split DWARF variant to use a hardcoded triple

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 4 19:05:03 PST 2020


Author: David Blaikie
Date: 2020-02-04T19:02:11-08:00
New Revision: a1c338d70b9be7b5c6f9e16a325d692e8f439172

URL: https://github.com/llvm/llvm-project/commit/a1c338d70b9be7b5c6f9e16a325d692e8f439172
DIFF: https://github.com/llvm/llvm-project/commit/a1c338d70b9be7b5c6f9e16a325d692e8f439172.diff

LOG: DebugInfo: Fix convert-loclist.ll Split DWARF variant to use a hardcoded triple

Since we don't support Split DWARF emission on non-ELF formats, hardcode
an elfine triple (we don't have a way to ask for "any ELF triple" it
seems, so hardcoded will have to do)

Added: 
    

Modified: 
    llvm/test/DebugInfo/X86/convert-loclist.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/DebugInfo/X86/convert-loclist.ll b/llvm/test/DebugInfo/X86/convert-loclist.ll
index 955e28812dd9..a12ce5c766a0 100644
--- a/llvm/test/DebugInfo/X86/convert-loclist.ll
+++ b/llvm/test/DebugInfo/X86/convert-loclist.ll
@@ -1,6 +1,6 @@
 ; RUN: %llc_dwarf -filetype=obj < %s \
 ; RUN:   | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
-; RUN: %llc_dwarf -split-dwarf-file=foo.dwo -filetype=obj < %s \
+; RUN: llc -mtriple x86_64-pc-linux -split-dwarf-file=foo.dwo -filetype=obj < %s \
 ; RUN:   | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
 
 ; CHECK: 0x{{0*}}[[TYPE:.*]]: DW_TAG_base_type


        


More information about the llvm-commits mailing list