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 <lldb-dev@lists.llvm.org> wrote: > 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@lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev >
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev