Xcode Version 6.1 (6A1052c)<br>I get errors like:<br><div>







<p class="p1">/Users/ribrdb/Documents/git/lldb/source/Host/common/FileSpec.cpp:507:19: error: no member named 'ErrorOr' in namespace 'llvm'</p>
<p class="p1">            llvm::ErrorOr<std::string> error_or_path = llvm::sys::findProgramByName (file_str);</p>
<p class="p1">            ~~~~~~^</p><p class="p1"><br></p><p class="p1">There's also problems with getMetadata/getMDNode renaming.</p></div><br><div class="gmail_quote">On Tue Nov 11 2014 at 4:56:48 PM Vince Harron <<a href="mailto:vharron@google.com">vharron@google.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ryan,<div><br></div><div>I've sent you a doc out of band.  I used it to day to sync and build llvm/clang/lldb tot</div><div><br></div><div>It is derived from the instructions on the lldb website so those should work.</div><div><br></div><div>I did have these errors:</div><div><br></div><div><span><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">(Darwin <a href="http://vharron-macpro3.roam.corp.google.com" target="_blank">vharron-macpro3.roam.corp.google.com</a> 13.4.0 Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64 i386)</span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent"> </span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">TestDataFormatterStdMap.py</span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">TestDataFormatterStdVector.py</span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">TestDisassembleRawData.py</span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">TestFormatters.py</span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">TestInferiorAssert.py</span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">TestMemoryHistory.py</span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">TestReportData.py</span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">TestStringPrinter.py</span></p><p dir="ltr" style="line-height:1;margin-top:0pt;margin-bottom:0pt"><span style="font-size:13px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">TestValueVarUpdate.py</span></p><br></span></div><div><span><br></span></div><div>Vince</div><div><br></div><div><br></div></div><div class="gmail_extra"></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 11, 2014 at 4:39 PM, Ryan Brown <span dir="ltr"><<a href="mailto:ribrdb@google.com" target="_blank">ribrdb@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Is there some way to do an xcode build using a new version of llvm? I get compile errors because xcode seems to be using an old llvm.<div><div><br><br><div class="gmail_quote">On Tue, Nov 11, 2014, 10:11 AM Greg Clayton <<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Do this first in your ssh session:<br>
<br>
sudo /usr/sbin/DevToolsSecurity --enable<br>
<br>
Then try running lldb.<br>
<br>
> On Nov 11, 2014, at 2:20 AM, Nikolay Koldunov <<a href="mailto:nikolay.koldunov@oracle.com" target="_blank">nikolay.koldunov@oracle.com</a>> wrote:<br>
><br>
> Thank You!<br>
><br>
> This helped in the local case. But I'm still unable to run lldb in either console or mi mode via ssh. Is this possible?<br>
><br>
> On 11/ 6/14 09:35 AM, Eran Ifrah wrote:<br>
>> I have this big comment in my code that will help you:<br>
>><br>
>> // On OSX, debugserver executable must exists otherwise lldb will not work properly<br>
>> // we ensure that it exists by checking the environment variable LLDB_DEBUGSERVER_PATH<br>
>><br>
>> In other words: set the environment variable LLDB_DEBUGSERVER_PATH to point to debugserver executable (you should have it installed with your XCode)<br>
>><br>
>><br>
>> On Fri, Oct 31, 2014 at 3:20 PM, Nikolay Koldunov <<a href="mailto:nikolay.koldunov@oracle.com" target="_blank">nikolay.koldunov@oracle.com</a>> wrote:<br>
>> Hi All!<br>
>><br>
>> I've just built lldb and lldb-mi from the trunk sources on MacOS and faced these issues:<br>
>> 1). lldb was unable to run target (error: process launch failed: unable to locate debugserver)<br>
>> 2). lldb-mi was unable to run target too (Command 'exec-run'. Invalid process during debug session)<br>
>><br>
>> I followed your instructions about code signing.<br>
>><br>
>> What should I do or check to proceed?<br>
>><br>
>> Regards,<br>
>> Nikolay<br>
>> ______________________________<u></u>_________________<br>
>> lldb-dev mailing list<br>
>> <a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Eran Ifrah,<br>
>> Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">http://www.codelite.org</a><br>
>> CodeLite IDE Blog: <a href="http://codeliteide.blogspot.com/" target="_blank">http://codeliteide.blogspot.<u></u>com/</a><br>
><br>
> ______________________________<u></u>_________________<br>
> lldb-dev mailing list<br>
> <a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
<br>
<br>
______________________________<u></u>_________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-dev</a><br>
</blockquote></div>
</div></div><br>_______________________________________________<br>
lldb-dev mailing list<br>
<a href="mailto:lldb-dev@cs.uiuc.edu" target="_blank">lldb-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br></div><div class="gmail_extra"><div><div dir="ltr"><br><table cellspacing="0" cellpadding="0" style="font-family:'Times New Roman'"><tbody><tr style="color:rgb(85,85,85);font-family:sans-serif;font-size:small"><td nowrap style="border-top-style:solid;border-top-color:rgb(213,15,37);border-top-width:2px">Vince Harron |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Technical Lead Manager |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:vharron@google.com" target="_blank">vharron@google.com</a> |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"> 858-442-0868</td></tr></tbody></table><br></div></div>
</div></blockquote></div>