[lldb-dev] C library for investigate the stack and function arguments in a readable format.

2019-01-27 Thread Peng Yu via lldb-dev
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

Re: [lldb-dev] lldb print c++ variables from dylib loaded in Swift application

2019-01-27 Thread David M. Lary via lldb-dev
On Sun, Jan 27, 2019 at 10:33 AM Adrian Prantl wrote: > > On Jan 26, 2019, at 6:41 PM, David M. Lary via lldb-dev > > wrote: > > > > I'm writing a Swift application for MacOS that makes use of a C/C++ > > dylib from a third party to interact with a film scanner. The > > application uses

Re: [lldb-dev] lldb print c++ variables from dylib loaded in Swift application

2019-01-27 Thread Adrian Prantl via lldb-dev
> On Jan 26, 2019, at 6:41 PM, David M. Lary via lldb-dev > wrote: > > I'm writing a Swift application for MacOS that makes use of a C/C++ > dylib from a third party to interact with a film scanner. The > application uses dlopen() & dlsym() to discover and call the C wrapper > function for