[lld] 84539a2 - Revert "[LLD][ELF] Fix compressed-debug-level test on SystemZ"

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 28 03:19:32 PDT 2023


Author: Ulrich Weigand
Date: 2023-04-28T12:19:17+02:00
New Revision: 84539a24632235868cb58f3c167838e32fa42940

URL: https://github.com/llvm/llvm-project/commit/84539a24632235868cb58f3c167838e32fa42940
DIFF: https://github.com/llvm/llvm-project/commit/84539a24632235868cb58f3c167838e32fa42940.diff

LOG: Revert "[LLD][ELF] Fix compressed-debug-level test on SystemZ"

This reverts commit f2404d589ece81b029c607af011c372d52bff8d2,
which causes failures on Windows.

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 71804ed66673..ee95f1267997 100644
--- a/lld/test/ELF/compressed-debug-level.test
+++ b/lld/test/ELF/compressed-debug-level.test
@@ -2,22 +2,18 @@
 
 # RUN: yaml2obj %s -o %t.o
 
-## The environment variable DFLTCC=0 disables use of the hardware compression
-## facility on SystemZ.  When this facility is enabled, slightly 
diff erent
-## compression results can be seen, which would throw off the tests below.
-
-# RUN: DFLTCC=0 ld.lld %t.o -o %t.default --compress-debug-sections=zlib
+# RUN: ld.lld %t.o -o %t.default --compress-debug-sections=zlib
 # RUN: llvm-readelf --sections %t.default | FileCheck -check-prefixes=HEADER,LEVEL1 %s
 
-# RUN: DFLTCC=0 ld.lld -O0 %t.o -o %t.O0 --compress-debug-sections=zlib
+# RUN: ld.lld -O0 %t.o -o %t.O0 --compress-debug-sections=zlib
 # RUN: llvm-readelf --sections %t.O0 | FileCheck -check-prefixes=HEADER,LEVEL1 %s
 # RUN: cmp %t.default %t.O0
 
-# RUN: DFLTCC=0 ld.lld -O1 %t.o -o %t.O1 --compress-debug-sections=zlib
+# RUN: ld.lld -O1 %t.o -o %t.O1 --compress-debug-sections=zlib
 # RUN: llvm-readelf --sections %t.O1 | FileCheck -check-prefixes=HEADER,LEVEL1 %s
 # RUN: cmp %t.default %t.O1
 
-# RUN: DFLTCC=0 ld.lld -O2 %t.o -o %t.O2 --compress-debug-sections=zlib
+# RUN: ld.lld -O2 %t.o -o %t.O2 --compress-debug-sections=zlib
 # RUN: llvm-readelf --sections %t.O2 | FileCheck -check-prefixes=HEADER,LEVEL6 %s
 
 ## LLD uses zlib compression of level 1 when -O0, -O1 and level 6 when -O2.


        


More information about the llvm-commits mailing list