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

via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 23:12:28 PDT 2024


Author: Vincent Lee
Date: 2024-05-23T23:12:25-07:00
New Revision: 7c220c4bd31b832167b9fceadc3d27e7989728b9

URL: https://github.com/llvm/llvm-project/commit/7c220c4bd31b832167b9fceadc3d27e7989728b9
DIFF: https://github.com/llvm/llvm-project/commit/7c220c4bd31b832167b9fceadc3d27e7989728b9.diff

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

When running `check-lld-elf` on my CentOS 9 linux box, the test seems to
expect `000021` instead of `00001{{[def]}}`

Added: 
    

Modified: 
    lld/test/ELF/compressed-debug-level.test

Removed: 
    


################################################################################
diff  --git a/lld/test/ELF/compressed-debug-level.test b/lld/test/ELF/compressed-debug-level.test
index e1a7cc32a7919..5a4d37e31eca9 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 0000{{1[def]|21}}
 # LEVEL6: [ 1] .debug_info PROGBITS 00000000 000094 00001{{[abc]}}
 
 ## A little arbitrary debug section which has a 
diff erent size after


        


More information about the llvm-commits mailing list