[llvm-branch-commits] [lld] e077f4a - [ELF][test] Fix compressed-debug-level.test with zlib-ng

Tom Stellard via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 29 15:25:11 PDT 2022


Author: Fangrui Song
Date: 2022-07-29T15:22:44-07:00
New Revision: e077f4a6bfde096a1e2a16e7e17d7ac39718b68a

URL: https://github.com/llvm/llvm-project/commit/e077f4a6bfde096a1e2a16e7e17d7ac39718b68a
DIFF: https://github.com/llvm/llvm-project/commit/e077f4a6bfde096a1e2a16e7e17d7ac39718b68a.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

(cherry picked from commit 876af563e73a3c1d6b49e13b4c1791a4208c8546)

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-branch-commits mailing list