[clang] Change all CHECK lines in test to include DAG to work when the compiler emits debug info in a different order. (PR #67503)

Paul T Robinson via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 13 07:46:40 PDT 2023


pogo59 wrote:

In general, you cannot combine suffixes in the same directive. FileCheck will detect and complain about some combinations, but it doesn't detect all of them. I believe `CHECK-DAG-SAME` does not work the way you want it to, and in fact acts as a no-op. This would be easy to verify, modify the text that the directive is looking for and see whether the test fails.

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


More information about the cfe-commits mailing list