Re: [lldb-dev] lldb-instr not working

2020-03-24 Thread Greg Clayton via lldb-dev
Are there instructions for this somewhere? If not, can we get some on the site? > On Mar 23, 2020, at 1:31 PM, Jonas Devlieghere via lldb-dev > wrote: > > Hi Walter, > > lldb-instr needs compile_commands.json file to figure out the exact compiler > invocation for every file. Can you verify th

Re: [lldb-dev] lldb-instr not working

2020-03-23 Thread Jonas Devlieghere via lldb-dev
Hi Walter, lldb-instr needs compile_commands.json file to figure out the exact compiler invocation for every file. Can you verify that the file exists in the directory you're running lldb-instr from? Cheers, Jonas On Mon, Mar 23, 2020 at 1:29 PM Walter via lldb-dev wrote: > Hi, I've recently t

[lldb-dev] lldb-instr not working

2020-03-23 Thread Walter via lldb-dev
Hi, I've recently tried to use lldb-instr, as mentioned in https://lldb.llvm.org/resources/sbapi.html, but I'm having the following issue when running it on darwin. ./lldb-instr > LLVM ERROR: Unable to find target for this triple (no targets are registered) Is this a known issue? Or should lldb-i