[PATCH] D91043: [DebugInfo] Fix convert-loclist.ll
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 8 16:51:13 PST 2020
luismarques created this revision.
luismarques added reviewers: dblaikie, asb, lenary.
Herald added subscribers: llvm-commits, pengfei, s.egerton, PkmX, simoncook.
Herald added a project: LLVM.
luismarques requested review of this revision.
This test is X86-specific, but it was being run with `%llc_dwarf` with no target triple. Due to the lack of the target triple, that RUN line would fail on non-x86 platforms (in my case, RISC-V). My understanding is that it would be incorrect to pass a target triple to `%llc_dwarf`, so this patch fixes this issue by using the plain `llc` instead, with an x86 target triple.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D91043
Files:
llvm/test/DebugInfo/X86/convert-loclist.ll
Index: llvm/test/DebugInfo/X86/convert-loclist.ll
===================================================================
--- llvm/test/DebugInfo/X86/convert-loclist.ll
+++ llvm/test/DebugInfo/X86/convert-loclist.ll
@@ -1,4 +1,4 @@
-; RUN: %llc_dwarf -filetype=obj < %s \
+; RUN: llc -mtriple x86_64-pc-linux -filetype=obj < %s \
; RUN: | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
; RUN: llc -mtriple x86_64-pc-linux -split-dwarf-file=foo.dwo -filetype=obj -dwarf-op-convert=Enable < %s \
; RUN: | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck --check-prefix=SPLIT --check-prefix=CHECK %s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91043.303741.patch
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201109/fa7a2370/attachment.bin>
More information about the llvm-commits
mailing list