[Lldb-commits] [lldb] [lldb][test] Fix elf-no-shdrs-pt-notes.yaml on Windows (PR #160827)

via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 26 01:16:31 PDT 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: David Spickett (DavidSpickett)

<details>
<summary>Changes</summary>

Windows paths have different slashes, but I don't think we care about the exact paths there anyway so I've just checked for the final filename.

Fixes #<!-- -->160652

---
Full diff: https://github.com/llvm/llvm-project/pull/160827.diff


1 Files Affected:

- (modified) lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml (+2-2) 


``````````diff
diff --git a/lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml b/lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml
index 62562f6c5f7bf..1e9c5dfaeab1b 100644
--- a/lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml
+++ b/lldb/test/Shell/ObjectFile/ELF/elf-no-shdrs-pt-notes.yaml
@@ -10,8 +10,8 @@
 # RUN:   -o "image list" \
 # RUN:   | FileCheck %s
 
-# CHECK: Current executable set to '{{.*/tools/lldb/test/Shell/ObjectFile/ELF/Output/elf-no-shdrs-pt-notes.yaml.tmp}}' (x86_64).
-# CHECK: [  0] 7F1F56D6-7DBB-17BA-C9A3-4417DB52F097-2548414F 0x0000000000000000 {{.*/tools/lldb/test/Shell/ObjectFile/ELF/Output/elf-no-shdrs-pt-notes.yaml.tmp}}
+# CHECK: Current executable set to '{{.*}}elf-no-shdrs-pt-notes.yaml.tmp' (x86_64).
+# CHECK: [  0] 7F1F56D6-7DBB-17BA-C9A3-4417DB52F097-2548414F 0x0000000000000000 {{.*}}elf-no-shdrs-pt-notes.yaml.tmp
 
 --- !ELF
 FileHeader:

``````````

</details>


https://github.com/llvm/llvm-project/pull/160827


More information about the lldb-commits mailing list