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

Djordje Todorovic via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 30 05:23:23 PDT 2020


djtodoro marked an inline comment as done.
djtodoro 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: {{.*}}
----------------
aprantl wrote:
> 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.
I see... It is hard to test it that way, but as far as I can see, it is enough to test only the `Driver` in situations like this, so I am adding a new test case and getting rid of this one.


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

https://reviews.llvm.org/D82547





More information about the cfe-commits mailing list