更新时间:2022-06-23 02:22:55
Clang 编译器与 MSVC 的 ABI 兼容,包括名称修改.底层基础设施是LLVM项目的一部分,我发现llvm-undname 破坏 MSVC 名称.也许您可以重新设计它以将 Wrapper::
命名空间添加到符号并重新整理.
The Clang compiler is ABI-compatible with MSVC, including name mangling.
The underlying infrastructure is part of the LLVM project, and I found llvm-undname which demangles MSVC names. Perhaps you can rework it to add the Wrapper::
namespace to symbols and re-mangle.
您可以在 这个测试代码.