Gdb on top of LLVM?

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

Considering how well LLVM is designed, this almost seems like a great opportunity.

+3
source share
3 answers

Try llvm-db .

+6
source

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

http://lldb.llvm.org/

+5
source

You mean one that allows you to go through llvm ir, as if it were a set of assembly instructions? Then no, nothing of the kind exists. You can send debugging information through llvm ir and receive it to generate debugging information for your purpose (currently limited to a dwarf).

0
source

Source: https://habr.com/ru/post/1736187/


All Articles