C library for investigate the stack and function arguments in a readable format.

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.