[lldb-dev] lldb-instr not working

Jonas Devlieghere via lldb-dev lldb-dev at lists.llvm.org
Mon Mar 23 13:31:17 PDT 2020

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?


On Mon, Mar 23, 2020 at 1:29 PM Walter via lldb-dev <lldb-dev at lists.llvm.org>

> 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-instr be built in a special way to
> make it aware of the local compilation target?
> Does anyone know anything about this?
> Thanks!
> - Walter
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200323/3effd11e/attachment.html>

More information about the lldb-dev mailing list