This patch is to remove -lto-no-discard-value-names flag and
instead to use -save-temps as we discussed in the post-commit
review thread for r267020.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I guess the only issue is that you can't test that the linker is correctly setting up LLVM to discard names now.
Comment Actions
Right, whether the flag was set correctly or not is not visible from outside, but I think that's not a big issue.
Comment Actions
It is only an issue for testability, you can't catch a regression on this aspect now, if someone removes the call to setDiscardValueNames all your tests will still be passing.
I'm just mentioning it, I understand there is a tradeoff for everything :)