[PATCH] D82547: [Debugify] Expose debugify (original mode) as CC1 option

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 29 16:39:11 PDT 2020


aprantl added inline comments.


================
Comment at: clang/test/DebugInfo/debugify-each-original.c:16
+// CHECK: Force set function attributes: {{.*}}
+// CHECK-NEXT: Infer set function attributes: {{.*}}
+// CHECK-NEXT: Interprocedural Sparse Conditional Constant Propagation: {{.*}}
----------------
I think this is still implicitly hardcoding the pass pipeline just through the order of CHECK lines. If there were a way to dump the flags Clang is passing to LLVM and check that, or get the pass manager to dump its configuration, that would be better. I'm not sure if there is such an affordance.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82547/new/

https://reviews.llvm.org/D82547





More information about the cfe-commits mailing list