Following r263086, we are now relying on a flag on the Context to
discard Value names in release builds.
Details
Diff Detail
Event Timeline
FYI, I'd lik eto hold off on submitting here until we're on the same page with Philip on the original LLVM review (D17946), but some comments on how this is working are below...
lib/CodeGen/CodeGenAction.cpp | ||
---|---|---|
660–663 | I'm surprised this isn't a driver-side NDEBUG default flip? Can this still be overridden with a flag? |
lib/CodeGen/CodeGenAction.cpp | ||
---|---|---|
660–663 | It's gonna be next patch: plumbing a cc1 flag somehow. Right now this is minimum patch to maintain existing behavior in clang while adapting to the IRBuilder API in LLVM. |
lib/CodeGen/CodeGenAction.cpp | ||
---|---|---|
660–663 | Ah, just add a FIXME comment to make it clear that this is a transitional thing and not planned to be the end state? |
I'm surprised this isn't a driver-side NDEBUG default flip? Can this still be overridden with a flag?