[lld] 75fd939 - [ELF] Adjust test to work for zlib 1.2.8
Shoaib Meenai via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 26 17:19:14 PST 2019
Author: Shoaib Meenai
Date: 2019-11-26T17:19:02-08:00
New Revision: 75fd939bb917e8f843395684a2970d86bc0199c0
URL: https://github.com/llvm/llvm-project/commit/75fd939bb917e8f843395684a2970d86bc0199c0
DIFF: https://github.com/llvm/llvm-project/commit/75fd939bb917e8f843395684a2970d86bc0199c0.diff
LOG: [ELF] Adjust test to work for zlib 1.2.8
The previous data had the same length with compression levels 1 and 6
for zlib 1.2.8. Adjust the test to work for this library version. I've
also tested this with zlib 1.2.7 and zlib 1.2.11.
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 38d7d9016d12..d755e9fedf13 100644
--- a/lld/test/ELF/compressed-debug-level.test
+++ b/lld/test/ELF/compressed-debug-level.test
@@ -21,7 +21,7 @@
# HEADER: [Nr] Name Type Address Off Size
# LEVEL1: [ 1] .debug_info PROGBITS 00000000 000094 00001c
-# LEVEL6: [ 1] .debug_info PROGBITS 00000000 000094 00001b
+# LEVEL6: [ 1] .debug_info PROGBITS 00000000 000094 00001a
## A little arbitrary debug section which has a
diff erent size after
## applying compression of level 1 and 6.
@@ -35,4 +35,4 @@ FileHeader:
Sections:
- Name: .debug_info
Type: SHT_PROGBITS
- Content: '01010201020201020102'
+ Content: '010101010101010201010201'
More information about the llvm-commits
mailing list