Skip to content

Commit 197f305

Browse files
committed
NFCI: update debug-names-types test to use an output file unique to the test
This makes it work in environments where the test is running in a write-protected current directory. Updated similarly to other such tests, like https://github.com/llvm/llvm-project/blob/8bd06d5b65845e5e01dd899a2deb773580460b89/llvm/test/tools/llvm-dwp/X86/absolute_paths.test#L3.
1 parent 8bd06d5 commit 197f305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/test/DebugInfo/X86/debug-names-types.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
; RUN: llc -mtriple=x86_64 -generate-type-units -dwarf-version=5 -filetype=obj %s -o %t
66
; RUN: llvm-dwarfdump -debug-info -debug-names %t | FileCheck %s
77

8-
; RUN: llc -mtriple=x86_64 -generate-type-units -dwarf-version=5 -filetype=obj -split-dwarf-file=mainTypes.dwo --split-dwarf-output=mainTypes.dwo %s -o %t
8+
; RUN: llc -mtriple=x86_64 -generate-type-units -dwarf-version=5 -filetype=obj -split-dwarf-file=%t.mainTypes.dwo --split-dwarf-output=%t.mainTypes.dwo %s -o %t
99
; RUN: llvm-readelf --sections %t | FileCheck %s --check-prefixes=CHECK-SPLIT
1010

1111
; CHECK-SPLIT-NOT: .debug_names

0 commit comments

Comments
 (0)