[lldb-dev] C library for investigate the stack and function arguments in a readable format.
Peng Yu via lldb-dev
lldb-dev at lists.llvm.org
Sun Jan 27 22:34:31 PST 2019
Hi,
As running in a debugger is very slow, I compile my C source code to
LLVM .ll code and manually insert some commands in the .ll file to
inspect things that I am interested in.
But the intrinsics offered by the LLVM langref is rather limited.
https://llvm.org/docs/LangRef.html
I am not sure how to conveniently show the stack and function call
arguments in a human-readable format. Is there a library that can
compile and link to my .ll file so that the final executable will
print the debugging info as needed and fast? (I'd guess there should
be code from lldb that may be extracted and linked against my program
for debugging.)
Thanks.
--
Regards,
Peng
More information about the lldb-dev
mailing list