[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:19 PDT 2026
================
@@ -0,0 +1,9 @@
+! Test -gz=zstd (compressed debug sections with zstd) option handling.
+
+! REQUIRES: zstd
+
+! RUN: %flang -### -c -target x86_64-unknown-linux-gnu -gz=zstd %s 2>&1 | FileCheck %s --check-prefix=GZ-ZSTD
+! GZ-ZSTD: "--compress-debug-sections=zstd"
----------------
tarunprabhu wrote:
If this is intended to check that `--compress-debug-sections` is passed to `fc1`, it would be better if this was made more explicit
```suggestion
! GZ-ZSTD: "-fc1"
! GZ-ZSTD-SAME: "--compress-debug-sections=zstd"
```
https://github.com/llvm/llvm-project/pull/212584
More information about the flang-commits
mailing list