Refactor debugging routines to reduce code duplication. Remove a couple
of #include's that were not needed. Don't require MachineDominator as a
prereq for this pass (not needed).
These changes split off from http://reviews.llvm.org/D18827.
Differential D18992
Refactor debugging code, NFC. ClosedPublic Authored by thanm on Apr 11 2016, 1:37 PM.
Details Summary Refactor debugging routines to reduce code duplication. Remove a couple These changes split off from http://reviews.llvm.org/D18827.
Diff Detail Event Timelinethanm updated this object. Comment Actions Just a few comments, and this LGTM. Thanks for the patch!
This revision is now accepted and ready to land.Apr 13 2016, 12:48 PM Comment Actions Thanks George for your review comments (just getting back to this after a hiatus). Closed by commit rL267766: Refactor debugging code, NFC. (authored by thanm). · Explain WhyApr 27 2016, 12:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 53314 lib/CodeGen/StackColoring.cpp
|
Nit: Please clang-format this, and the other DEBUG statements nearby (specifically, I think there should be a space between dbgs() and <<).