[lld] 876af56 - [ELF][test] Fix compressed-debug-level.test with zlib-ng

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 11:18:25 PDT 2022


Author: Fangrui Song
Date: 2022-07-27T11:18:20-07:00
New Revision: 876af563e73a3c1d6b49e13b4c1791a4208c8546

URL: https://github.com/llvm/llvm-project/commit/876af563e73a3c1d6b49e13b4c1791a4208c8546
DIFF: https://github.com/llvm/llvm-project/commit/876af563e73a3c1d6b49e13b4c1791a4208c8546.diff

LOG: [ELF][test] Fix compressed-debug-level.test with zlib-ng

The test is brittle but it seems unnecessary to remove size check now.

Close #56222

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 d755e9fedf13b..ee95f12679972 100644
--- a/lld/test/ELF/compressed-debug-level.test
+++ b/lld/test/ELF/compressed-debug-level.test
@@ -20,7 +20,7 @@
 ## Here we check how -O flag affects the size of compressed sections produced.
 
 # HEADER: [Nr] Name        Type     Address  Off    Size
-# LEVEL1: [ 1] .debug_info PROGBITS 00000000 000094 00001c
+# LEVEL1: [ 1] .debug_info PROGBITS 00000000 000094 00001{{[bc]}}
 # LEVEL6: [ 1] .debug_info PROGBITS 00000000 000094 00001a
 
 ## A little arbitrary debug section which has a 
diff erent size after


        


More information about the llvm-commits mailing list