<div dir="ltr"><div dir="ltr">Hi Walter,<div><br></div><div>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?</div><div><br></div><div>Cheers,</div><div>Jonas</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 23, 2020 at 1:29 PM Walter via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org">lldb-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi, I've recently tried to use lldb-instr, as mentioned in <a href="https://lldb.llvm.org/resources/sbapi.html" target="_blank">https://lldb.llvm.org/resources/sbapi.html</a>, but I'm having the following issue when running it on darwin.<div><br></div><div>./lldb-instr</div><div>> LLVM ERROR: Unable to find target for this triple (no targets are registered)</div><div><br></div><div>Is this a known issue? Or should lldb-instr be built in a special way to make it aware of the local compilation target?<br></div><div><br></div><div>Does anyone know anything about this? </div><div><br></div><div>Thanks!</div><div><br></div><div>- Walter</div></div>
_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank">lldb-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br>
</blockquote></div>