[lld] [lld][ELF][test] Fix compressed-debug-level.test (PR #93264)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 18:34:41 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lld-elf

Author: Vincent Lee (thevinster)

<details>
<summary>Changes</summary>

When running `check-lld-elf`, the test seems to expect `000021` instead of `00001{{[def]}}` 

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


1 Files Affected:

- (modified) lld/test/ELF/compressed-debug-level.test (+1-1) 


``````````diff
diff --git a/lld/test/ELF/compressed-debug-level.test b/lld/test/ELF/compressed-debug-level.test
index e1a7cc32a7919..4c5f2201ea4ee 100644
--- a/lld/test/ELF/compressed-debug-level.test
+++ b/lld/test/ELF/compressed-debug-level.test
@@ -18,7 +18,7 @@
 # RUN: llvm-readelf --sections %t.6 | FileCheck -check-prefixes=HEADER,LEVEL6 %s
 
 # HEADER: [Nr] Name        Type     Address  Off    Size
-# LEVEL1: [ 1] .debug_info PROGBITS 00000000 000094 00001{{[def]}}
+# LEVEL1: [ 1] .debug_info PROGBITS 00000000 000094 000021
 # LEVEL6: [ 1] .debug_info PROGBITS 00000000 000094 00001{{[abc]}}
 
 ## A little arbitrary debug section which has a different size after

``````````

</details>


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


More information about the llvm-commits mailing list