From d46c6b84b26fab8d4ffc1c5c124f4c01c1daf529 Mon Sep 17 00:00:00 2001 From: Jordan Rupprecht Date: Mon, 27 Oct 2025 21:24:46 -0700 Subject: [PATCH] [test][DebugInfo] Fix location of test build artifacts --- .../test/tools/llvm-dwarfdump/X86/type_units_split_dwp_v4.s | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llvm/test/tools/llvm-dwarfdump/X86/type_units_split_dwp_v4.s b/llvm/test/tools/llvm-dwarfdump/X86/type_units_split_dwp_v4.s index becd9d1b55693..519edf043be5d 100644 --- a/llvm/test/tools/llvm-dwarfdump/X86/type_units_split_dwp_v4.s +++ b/llvm/test/tools/llvm-dwarfdump/X86/type_units_split_dwp_v4.s @@ -1,6 +1,12 @@ ## This test uses TU index for type parsing in dwp and makes sure the DWARF4 type is ## successfully retrieved. +## cd to a unique dir so we can refer to the file as just "test.dwo" in the +## assembly test input below. +# RUN: rm -rf %t +# RUN: mkdir %t +# RUN: cd %t + # RUN: llvm-mc %s --split-dwarf-file=test.dwo -filetype obj -triple x86_64 -o test.o # RUN: llvm-dwp -e test.o -o test.dwp # RUN: llvm-dwarfdump test.dwp | FileCheck %s