This solves the multiple defintiion issue https://github.com/llvm/llvm-project/issues/54269.
I think the cause of the bug might be an oversight. We just forget to edit this when implementing partitions. And it should be a good fix.
Differential D121271
[C++20] [Modules] Don't generate strong function of a partition in importing modules ChuanqiXu on Mar 8 2022, 9:48 PM. Authored by
Details This solves the multiple defintiion issue https://github.com/llvm/llvm-project/issues/54269. I think the cause of the bug might be an oversight. We just forget to edit this when implementing partitions. And it should be a good fix.
Diff Detail Event TimelineComment Actions I think you need to extend the test case (and possibly the code) to handle an implementation partition as well, where the module is both interface and implementation. Comment Actions it looks like the test case is failing everywhere - perhaps as a result of changes in the mangling scheme? Comment Actions Oh, yeah... let me try to continue the work in mangling scheme. I feel it is important otherwise it is not so good to demangle. Comment Actions it looks like the first part of the C++20 mangling was just landed, so perhaps you can revisit this? |