This allows multi-module / incremental compilation environments to have unique initializer symbols.
Patch by Axel Naumann!
Differential D34059
Get the file name for the symbol from the Module, not the SourceManager. v.g.vassilev on Jun 9 2017, 9:33 AM. Authored by
Details
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. |