[lldb-dev] Linking the lldb C++API/library with other projects

2017-08-29 Thread meister via lldb-dev
Does anyone have pointers on how to link the lldb C++ API/library with another project that uses a command line driven build system? We would like to incorporate the lldb C++ API/library into our Common Lisp programming environment to get better backtraces and debug info in a portable way (OS X

Re: [lldb-dev] Linking the lldb C++API/library with other projects

2017-08-29 Thread meister via lldb-dev
egrated debugger in SLIME work with a separate debugging process. Fun, fun, fun. Thank you! .Chris. > On Aug 29, 2017, at 1:18 PM, Greg Clayton wrote: > > >> On Aug 29, 2017, at 8:21 AM, meister via lldb-dev >> wrote: >> >> Does anyone have pointers o

Re: [lldb-dev] Linking the lldb C++API/library with other projects

2017-08-29 Thread meister via lldb-dev
Greg, We are developing a compiler for Common Lisp that uses LLVM as the backend and interoperates with C++ - it has its own REPL and built in compiler. Our compiler generates llvm-ir that we link directly with llvm-ir generated from the C++ code using LTO. I’ve exposed much of the LLVM C++ A

Re: [lldb-dev] Linking the lldb C++API/library with other projects

2017-08-29 Thread meister via lldb-dev
, .Chris. > On Aug 29, 2017, at 2:48 PM, Jan Kratochvil wrote: > > On Tue, 29 Aug 2017 20:17:57 +0200, meister via lldb-dev wrote: >> (i) My program detects an error and enters into its debugger. >> (ii) It forks a debugging process and that interacts with the user who uses &g

Re: [lldb-dev] Linking the lldb C++API/library with other projects

2017-08-29 Thread meister via lldb-dev
I’ve pondered integrating the REPL into LLDB - but what I really want/need is for all of this to run within SLIME - and I don’t know enough about it to do that. I do know how to talk to complex C++ API’s from Common Lisp - hence my line of questioning. I’ll think on that more though. What you