[flang-commits] [clang] [flang] [flang][debug] Add compressed DWARF support in Flang (PR #212584)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Thu Jul 30 08:12:18 PDT 2026
================
@@ -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
More information about the flang-commits
mailing list