<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Are there instructions for this somewhere? If not, can we get some on the site?<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Mar 23, 2020, at 1:31 PM, Jonas Devlieghere via lldb-dev <<a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Hi Walter,<div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div class="">Cheers,</div><div class="">Jonas</div></div></div><br class=""><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" class="">lldb-dev@lists.llvm.org</a>> wrote:<br class=""></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" class="">Hi, I've recently tried to use lldb-instr, as mentioned in <a href="https://lldb.llvm.org/resources/sbapi.html" target="_blank" class="">https://lldb.llvm.org/resources/sbapi.html</a>, but I'm having the following issue when running it on darwin.<div class=""><br class=""></div><div class="">./lldb-instr</div><div class="">> LLVM ERROR: Unable to find target for this triple (no targets are registered)</div><div class=""><br class=""></div><div class="">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 class=""></div><div class=""><br class=""></div><div class="">Does anyone know anything about this? </div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class="">- Walter</div></div>
_______________________________________________<br class="">
lldb-dev mailing list<br class="">
<a href="mailto:lldb-dev@lists.llvm.org" target="_blank" class="">lldb-dev@lists.llvm.org</a><br class="">
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev" rel="noreferrer" target="_blank" class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev</a><br class="">
</blockquote></div>
_______________________________________________<br class="">lldb-dev mailing list<br class=""><a href="mailto:lldb-dev@lists.llvm.org" class="">lldb-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev<br class=""></div></blockquote></div><br class=""></body></html>