I'm not sure what the status of building LLDB with CMake is, but the normal way apple people build LLDB is to structure the directory like this:<br><br><div>lldb</div><div>--llvm</div><div>----tools</div><div>------clang</div><div><br></div><div>Then open the xcode workspace and build the lldb-tool target.</div><div><br></div><div>I'll sync to ToT again though so that I can get you a dump of the compiler errors I'm seeing.</div><br><div class="gmail_quote">On Tue Dec 09 2014 at 1:52:40 PM Duncan P. N. Exon Smith <<a href="mailto:dexonsmith@apple.com">dexonsmith@apple.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm trying to build lldb now, but it's hung trying to build LLVM and<br>
clang... but I already built these? I don't really understand.<br>
<br>
Is there any way to make lldb point to my LLVM checkout? I just want to<br>
see the compiler errors so I can fix them :(.<br>
<br>
Alternatively, if some can email me a compile log with all the errors<br>
(can you do a `make -k` or something?) I can send you a patch... this is<br>
mechanical to update, but I need the compiler to tell me what's wrong.<br>
<br>
I expect the fixes to all be along these lines:<br>
<br>
- Value *Ops[] => Metadata *Ops[]<br>
<br>
- cast<ConstantInt>(N-><u></u>getOperand(0)) =><br>
mdconst::extract<ConstantInt>(<u></u>N->getOperand(0))<br>
<br>
- Value *Op = ConstantInt::get(...) =><br>
Metadata *Op = ConstantAsMetadata::get(<u></u>ConstantInt::get(...))<br>
<br>
Sorry for the breakage :(.<br>
<br>
> On 2014 Dec 9, at 13:41, Zachary Turner <<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>> wrote:<br>
><br>
> If you sync llvm past git revision db7b69e3a634c5fdff0eceeee2a41e<u></u>e49c3270a2 (svn r223802), your LLDB build will be broken.<br>
><br>
> I was able to fix one of the errors, but this isn't really my area of expertise, so I stopped when I realized I didn't know what I was doing.<br>
><br>
> Just a warning not to sync LLVM until this is fixed. I've CC'ed Sean and Duncan as they are probably the best people to fix this, but if anyone else knows how to fix it, feel free.<br>
<br>
</blockquote></div>