[PATCH] D156765: [BOLT][DWARF] Opt out test from aarch64.

Alexander Yermolovich via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 17:44:04 PDT 2023


ayermolo created this revision.
Herald added subscribers: treapster, hoy, modimo, wenlei, pengfei, kristof.beyls.
Herald added a reviewer: rafauler.
Herald added a reviewer: Amir.
Herald added a reviewer: maksfb.
Herald added a project: All.
ayermolo requested review of this revision.
Herald added subscribers: llvm-commits, yota9.
Herald added a project: LLVM.

Limiting the test to only X86.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156765

Files:
  bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test


Index: bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
===================================================================
--- bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
+++ bolt/test/X86/dwarf5-df-inlined-subroutine-gc-sections-range.test
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
 ; RUN: rm -rf %t
 ; RUN: mkdir %t
 ; RUN: cd %t
@@ -5,7 +6,7 @@
 ; RUN: -split-dwarf-file=main.dwo -o main.o
 ; RUN: llvm-mc -dwarf-version=5 -filetype=obj -triple x86_64-unknown-linux %p/Inputs/dwarf5-df-inlined-subroutine-gc-sections-range-helper.s \
 ; RUN: -split-dwarf-file=helper.dwo -o helper.o
-; RUN: %clang -fuse-ld=lld -Wl,-gc-sections -Wl,-q -gdwarf-5 -gsplit-dwarf=split main.o helper.o -o main.exe
+; RUN: %clang --target=x86_64-pc-linux -fuse-ld=lld -Wl,-gc-sections -Wl,-q -gdwarf-5 -gsplit-dwarf=split main.o helper.o -o main.exe
 ; RUN: llvm-bolt main.exe -o main.exe.bolt --update-debug-sections
 ; RUN: llvm-dwarfdump --debug-addr main.exe > log.txt
 ; RUN: llvm-dwarfdump --debug-rnglists --verbose --show-form main.dwo >> log.txt


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156765.545883.patch
Type: text/x-patch
Size: 1076 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230801/79f1e0e0/attachment.bin>


More information about the llvm-commits mailing list