问题描述
我刚开始使用 valgrind.我正在为我的 C 库运行测试.我尝试在 valgrind 下运行它,并获得了一些关于我的代码中可能出现的错误的非常有价值的信息.困扰我的一件事是每个 valgrind 会话的开始都充满了这样的消息:
I'm quite new in using valgrind. I'm running tests for my C library. I've tryed to run it under valgrind and got some very valuable info about possible errors in my code. One thing that bothers me is beginning of every valgrind session is full of messages like this:
DWARF2 CFI reader: unhandled CFI instruction 0:22
IIUC 它与我的代码中的问题无关,我想禁用它们以简化对其他错误的分析.我已阅读 valgrind 帮助,但找不到正确的命令行选项.
IIUC it's unrelated to problems in my code and I'd like to disable them to simplify analysis of other errors. I've read valgrind help but can't find the proper command-line option.
你能给我一些提示吗?
推荐答案
已添加对这些 DWARF3 操作的支持.只需更新到当前版本的 valgrind,可从 http://valgrind.org 获得.
Support for these DWARF3 operations have been added. Just update to the current version of valgrind, available at http://valgrind.org.
这篇关于如何抑制“DWARF2 CFI阅读器:未处理的CFI指令"valgrind 输出错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!