[flang-commits] [clang] [flang] [flang][debug] Add compressed DWARF support in Flang (PR #212584)

via flang-commits flang-commits at lists.llvm.org
Fri Jul 31 07:14:28 PDT 2026


================
@@ -0,0 +1,20 @@
+! Test -gz (compressed debug sections) option handling.
+
+! REQUIRES: zlib
+
+! RUN: %flang -### -c -target x86_64-unknown-linux-gnu -g -gz %s 2>&1 | FileCheck %s --check-prefix=GZ
+! RUN: %flang -### -c -target x86_64-unknown-linux-gnu -g -gz=zlib %s 2>&1 | FileCheck %s --check-prefix=GZ
+! GZ: "--compress-debug-sections=zlib"
----------------
timsmith78 wrote:

Oh silly me, I should have seen that.  It looks like I need to rebase anyway to resolve a merge conflict, so I can fix this when I do that.

https://github.com/llvm/llvm-project/pull/212584


More information about the flang-commits mailing list