================ @@ -0,0 +1,25 @@ +! REQUIRES: x86-registered-target, zlib + +! Test that --compress-debug-sections=zlib compresses debug sections in the +! output object file. +! RUN: %flang_fc1 -debug-info-kind=standalone -triple x86_64-unknown-linux \ +! RUN: --compress-debug-sections=zlib -emit-obj -o %t.o %s +! RUN: llvm-readobj -S %t.o | FileCheck --check-prefix=ZLIB %s ---------------- tarunprabhu wrote:
Is it necessary to write a temporary file to disk here? Can we just pipe the output to `llvm-readobj` instead? https://github.com/llvm/llvm-project/pull/212584 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
