pahole C++11 support?

pahole C++11 support?

本文关键字:support C++11 pahole      更新时间:2023-10-16

我不知道为什么,但我的pahole副本碰巧不能与c++ 11编译的任何二进制文件一起工作,它适用于c++ 03,但不适用于c++ 11:在pahole中有c++ 11支持?

输出类似于

die__process_class: tag not supported (template_type_parameter)!
die__process_unit: DW_TAG_unspecified_type (0x3b) @ <0x1a26> not handled!
pahole: No debugging information found

似乎是一个众所周知的错误。

:

https://bugzilla.redhat.com/show_bug.cgi?id=962571

我试图从git

构建
git clone https://github.com/acmel/dwarves.git
cd dwarves
cmake ..
make
./pahole <myprog>

git版本适合我!