[AMDGPU] Removed superfluous predicate. NFC.
[llvm-project.git] / clang / test / Driver / verify-debug-info-preservation.c
blob81c1ff7d02a24735666d31883335121bd1f30983
1 // We support the CC1 options for testing whether each LLVM pass preserves
2 // original debug info.
4 // RUN: %clang -g -Xclang -fverify-debuginfo-preserve -### %s 2>&1 \
5 // RUN: | FileCheck --check-prefix=VERIFYDIPRESERVE %s
7 // VERIFYDIPRESERVE: "-fverify-debuginfo-preserve"
9 // RUN: %clang -g -Xclang -fverify-debuginfo-preserve \
10 // RUN: -Xclang -fverify-debuginfo-preserve-export=%t.json -### %s 2>&1 \
11 // RUN: | FileCheck --check-prefix=VERIFYDIPRESERVE-JSON-EXPORT %s
13 // VERIFYDIPRESERVE-JSON-EXPORT: "-fverify-debuginfo-preserve"
14 // VERIFYDIPRESERVE-JSON-EXPORT: "-fverify-debuginfo-preserve-export={{.*}}"
16 // RUN: %clang -g -Xclang -fverify-debuginfo-preserve-export=%t.json %s -S -o /dev/null 2>&1 \
17 // RUN: | FileCheck --check-prefix=WARN %s
19 // WARN: warning: ignoring -fverify-debuginfo-preserve-export