================ @@ -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" ---------------- tarunprabhu wrote:
Ah, sorry, should have made it clearer. I think we should have the following pattern for the checks in this file too. It just makes it very obvious what the test is doing. ``` LABEL: -fc1 LABEL-SAME: <what to match> ``` https://github.com/llvm/llvm-project/pull/212584 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
