开发者

gdb on top of LLVM?

Is there any debugger, like gdb or something else, aimed for C/C++, that runs on top of LLVM?

Given how well engineered LLVM is, this almost seems like a pe开发者_运维知识库rfect opportunity.


Try llvm-db.


Recently, the LLDB project was created as a modular tool for adding debugging capabilities to LLVM. At this time it only supports OS X, but it has a C++ api, a standalone executable and Python bindings.

http://lldb.llvm.org/


Do you mean one that allows you to step through llvm ir as if it were a set of assembly instructions? Then no, nothing like that exists. You can pass debug information in through the llvm ir and get it to generate debug information for your target (limited to dwarf at the moment).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜