================
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to