[llvm] [dsymutil] Move discriminator test to be executed with Arm support only (PR #96280)

David Tellenbach via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 20 23:23:08 PDT 2024


https://github.com/dtellenbach created https://github.com/llvm/llvm-project/pull/96280

This fixes a test failure introduced in 9f71a6b.

>From d61ffc87c19a0e1f5e1ce2167c8aa2e79d07a8fb Mon Sep 17 00:00:00 2001
From: David Tellenbach <dtellenbach at apple.com>
Date: Thu, 20 Jun 2024 23:20:03 -0700
Subject: [PATCH] [dsymutil] Move discriminator test to be executed with Arm
 support only

This fixes a test failure introduced in 9f71a6b.
---
 llvm/test/tools/dsymutil/{ => ARM}/discriminator.test | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
 rename llvm/test/tools/dsymutil/{ => ARM}/discriminator.test (72%)

diff --git a/llvm/test/tools/dsymutil/discriminator.test b/llvm/test/tools/dsymutil/ARM/discriminator.test
similarity index 72%
rename from llvm/test/tools/dsymutil/discriminator.test
rename to llvm/test/tools/dsymutil/ARM/discriminator.test
index 6a3c91e641ef0..d89d9af95d281 100644
--- a/llvm/test/tools/dsymutil/discriminator.test
+++ b/llvm/test/tools/dsymutil/ARM/discriminator.test
@@ -7,13 +7,13 @@
 ; with -g -fdebug-info-for-profiling -O2.
 
 RUN: dsymutil --flat --linker=classic -oso-prepend-path %p -o - \
-RUN:  --oso-prepend-path %p/Inputs --verify-dwarf=none \
-RUN:  %p/Inputs/discriminator.arm64.dylib | llvm-dwarfdump -debug-line - \
+RUN:  --oso-prepend-path %p/../Inputs --verify-dwarf=none \
+RUN:  %p/../Inputs/discriminator.arm64.dylib | llvm-dwarfdump -debug-line - \
 RUN:  | FileCheck %s
 
 RUN: dsymutil --flat --linker=parallel -oso-prepend-path %p -o - \
-RUN:  --oso-prepend-path %p/Inputs --verify-dwarf=none \
-RUN:  %p/Inputs/discriminator.arm64.dylib | llvm-dwarfdump -debug-line - \
+RUN:  --oso-prepend-path %p/../Inputs --verify-dwarf=none \
+RUN:  %p/../Inputs/discriminator.arm64.dylib | llvm-dwarfdump -debug-line - \
 RUN:  | FileCheck %s
 
 CHECK:          Address            Line   Column File   ISA Discriminator OpIndex Flags



More information about the llvm-commits mailing list