[llvm] 1de0199 - Fix llvm-symbolizer assembly-based test to require x86 and specify x86 when assembling
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 15 00:02:24 PDT 2020
Author: David Blaikie
Date: 2020-10-15T00:01:43-07:00
New Revision: 1de0199748ef2a20cd146c100ea1b8e6726c4767
URL: https://github.com/llvm/llvm-project/commit/1de0199748ef2a20cd146c100ea1b8e6726c4767
DIFF: https://github.com/llvm/llvm-project/commit/1de0199748ef2a20cd146c100ea1b8e6726c4767.diff
LOG: Fix llvm-symbolizer assembly-based test to require x86 and specify x86 when assembling
Added:
Modified:
llvm/test/tools/llvm-symbolizer/invalid-dwarf.s
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-symbolizer/invalid-dwarf.s b/llvm/test/tools/llvm-symbolizer/invalid-dwarf.s
index d9039acb2457..027ccef00faa 100644
--- a/llvm/test/tools/llvm-symbolizer/invalid-dwarf.s
+++ b/llvm/test/tools/llvm-symbolizer/invalid-dwarf.s
@@ -1,3 +1,4 @@
+# REQUIRES: x86-registered-target
# Source:
# void f1() { }
# void f2() { }
@@ -5,7 +6,7 @@
# Build as: clang -ffunction-sections -gdwarf-5 -c test.c
# Hand modify the rnglist to include an invalid RLE encoding (42)
#
-# RUN: llvm-mc -dwarf-version=5 %s -filetype=obj -o %t
+# RUN: llvm-mc -dwarf-version=5 %s -triple=x86_64-pc-linux -filetype=obj -o %t
# RUN: not llvm-symbolizer -obj=%t 0x0 2>&1 | FileCheck %s
#
# CHECK: error: decoding address ranges: unknown rnglists encoding 0x2a at offset 0x10
More information about the llvm-commits
mailing list