Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试正确解开从 DWARF 输出中获取的一些符号。
在 Linux 上,当我这样做时c++filt --format gnu-v3。我可以转换_ZZNV9SomeClass5afuncEiE1x为SomeClass::afunc(int) volatile::x
c++filt --format gnu-v3
_ZZNV9SomeClass5afuncEiE1x
SomeClass::afunc(int) volatile::x
在 Windows 上,我安装了包含 c++filt 的 Mingw32。相同的命令行产生输入,这意味着它无法解开。
什么可能导致这种情况?我认为指定格式(gnu-v3)足以使其跨平台工作。