This allows multi-module / incremental compilation environments to have unique initializer symbols.
Patch by Axel Naumann!
Paths
| Differential D34059
Get the file name for the symbol from the Module, not the SourceManager. ClosedPublic Authored by v.g.vassilev on Jun 9 2017, 9:33 AM.
Details
Summary This allows multi-module / incremental compilation environments to have unique initializer symbols. Patch by Axel Naumann!
Diff Detail Event TimelineComment Actions Is there any way to add a test for this? Does it affect the behavior of clang or any in-tree clang-based tools? If this isn't visible through existing in-tree tools, it would be useful to add to unittests/ a rough skeleton of what you're doing, so you can add tests for this kind of thing, and so we don't regress functionality you're depending on. v.g.vassilev mentioned this in D34444: Teach codegen to work in incremental processing mode..Jun 21 2017, 5:18 AM v.g.vassilev added a parent revision: D34444: Teach codegen to work in incremental processing mode.. This revision is now accepted and ready to land.Jun 26 2017, 1:44 PM
Revision Contents
Diff 103572 lib/CodeGen/CGDeclCXX.cpp
unittests/CodeGen/CMakeLists.txt
unittests/CodeGen/IncrementalProcessingTest.cpp
|