Question

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 perfect opportunity.

Was it helpful?

Solution

Try llvm-db.

OTHER TIPS

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).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top