Re: [lldb-dev] Load object file on the fly

2017-02-28 Thread Carlo Kok via lldb-dev
On 2017-02-28 18:36, Greg Clayton wrote: On Feb 28, 2017, at 4:19 AM, Carlo Kok via lldb-dev mailto:lldb-dev@lists.llvm.org>> wrote: As far as I can tell from reading the source LLDB has facilities to load a "jitted" clang fragment as an object file, load it into the target process "run" it a

Re: [lldb-dev] Load object file on the fly

2017-02-28 Thread Greg Clayton via lldb-dev
> On Feb 28, 2017, at 4:19 AM, Carlo Kok via lldb-dev > wrote: > > As far as I can tell from reading the source LLDB has facilities to load a > "jitted" clang fragment as an object file, load it into the target process > "run" it and unload it. Could this process be reused externally? Say fro

[lldb-dev] Load object file on the fly

2017-02-28 Thread Carlo Kok via lldb-dev
As far as I can tell from reading the source LLDB has facilities to load a "jitted" clang fragment as an object file, load it into the target process "run" it and unload it. Could this process be reused externally? Say from the SB or lower level apis? What I want to accomplish is allow better