[llvm] b090ef9 - [test] Fix compress-debug-sections-zlib-unavailable.s

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 09:32:20 PDT 2022


Author: Fangrui Song
Date: 2022-09-08T09:32:13-07:00
New Revision: b090ef9e4f9012762076603918c2c881d84edc60

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

LOG: [test] Fix compress-debug-sections-zlib-unavailable.s

Added: 
    

Modified: 
    llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s b/llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s
index fa5ce9f614c54..eecff5248a4e3 100644
--- a/llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s
+++ b/llvm/test/MC/ELF/compress-debug-sections-zlib-unavailable.s
@@ -1,5 +1,5 @@
 // REQUIRES: !zlib
 // RUN: not llvm-mc -filetype=obj -compress-debug-sections=zlib -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
 
-// CHECK:     llvm-mc{{[^:]*}}: error: build tools with LLVM_ENABLE_ZLIB to enable --compress-debug-sections=zlib
+// CHECK:     error: --compress-debug-sections: LLVM was not built with LLVM_ENABLE_ZLIB or did not find zlib at build time
 // CHECK-NOT: {{.}}


        


More information about the llvm-commits mailing list