<div dir="ltr">I will try that. One thing I did yesterday was try to make a change to llvm. To do this I went into my lldb/llvm directory, created a build directory, and from inside there generated an Xcode project for just the llvm / clang stuff, and built llvm using this. Is it possible that it installed itself somewhere in a way that conflicts what what I'm trying to do using the LLDB xcode build?</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 22, 2014 at 11:10 AM, Todd Fiala <span dir="ltr"><<a href="mailto:tfiala@google.com" target="_blank">tfiala@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Did you also do a Build|Clean?<div><br></div><div>So full steps:</div><div>(command line)</div><div>cd lldb</div><div>rm -rf llvm-build</div><div><br></div><div>(back in Xcode)</div><div>Product|Clean</div>
<div>
Cmd-B</div><div><br></div><div>?</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 22, 2014 at 11:09 AM, Zachary Turner <span dir="ltr"><<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Didn't seem to fix it. Still getting the same errors. </div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Aug 22, 2014 at 11:01 AM, Todd Fiala <span dir="ltr"><<a href="mailto:tfiala@google.com" target="_blank">tfiala@google.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I think Jason also mentioned in another thread that this was necessary and don't waste time tracking it down.</div>
<div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Fri, Aug 22, 2014 at 10:41 AM, Greg Clayton <span dir="ltr"><<a href="mailto:gclayton@apple.com" target="_blank">gclayton@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You might want to nuke your lldb/llvm-build folder and try again. Sometimes when updating the dependencies aren't tracked 100% and can result in bad .a files from the llvm build.<br>
<div><div><br>
> On Aug 22, 2014, at 10:32 AM, Zachary Turner <<a href="mailto:zturner@google.com" target="_blank">zturner@google.com</a>> wrote:<br>
><br>
> I just updated all my repos and I'm seeing this when I build lldb-tool using the Xcode solution:<br>
><br>
> Undefined symbols for architecture x86_64:<br>
><br>
> "llvm::ConstantExpr::getGetElementPtr(llvm::Constant*, llvm::ArrayRef<llvm::Value*>, bool)", referenced from:<br>
><br>
> llvm::ConstantExpr::getGetElementPtr(llvm::Constant*, llvm::ArrayRef<llvm::Constant*>, bool) in liblldb-core.a(IRForTarget.o)<br>
><br>
> (maybe you meant: __ZN4llvm12ConstantExpr16getGetElementPtrEPNS_8ConstantENS_8ArrayRefIPNS_5ValueEEEbPNS_4TypeE)<br>
><br>
> "llvm::ConstantExpr::getBitCast(llvm::Constant*, llvm::Type*)", referenced from:<br>
><br>
> IRForTarget::RewriteObjCConstString(llvm::GlobalVariable*, llvm::GlobalVariable*) in liblldb-core.a(IRForTarget.o)<br>
><br>
> IRForTarget::RewriteObjCSelector(llvm::Instruction*) in liblldb-core.a(IRForTarget.o)<br>
><br>
> IRForTarget::BuildRelocation(llvm::Type*, unsigned long long) in liblldb-core.a(IRForTarget.o)<br>
><br>
> IRForTarget::ReplaceStrings() in liblldb-core.a(IRForTarget.o)<br>
><br>
> (maybe you meant: __ZN4llvm12ConstantExpr10getBitCastEPNS_8ConstantEPNS_4TypeEb)<br>
><br>
> "llvm::ConstantExpr::getIntToPtr(llvm::Constant*, llvm::Type*)", referenced from:<br>
><br>
> IRForTarget::BuildFunctionPointer(llvm::Type*, unsigned long long) in liblldb-core.a(IRForTarget.o)<br>
><br>
> IRForTarget::RewriteObjCConstString(llvm::GlobalVariable*, llvm::GlobalVariable*) in liblldb-core.a(IRForTarget.o)<br>
><br>
> IRForTarget::RewriteObjCSelector(llvm::Instruction*) in liblldb-core.a(IRForTarget.o)<br>
><br>
> IRForTarget::HandleSymbol(llvm::Value*) in liblldb-core.a(IRForTarget.o)<br>
><br>
> IRForTarget::HandleObjCClass(llvm::Value*) in liblldb-core.a(IRForTarget.o)<br>
><br>
> IRForTarget::CompleteDataAllocation() in liblldb-core.a(IRForTarget.o)<br>
><br>
> (maybe you meant: __ZN4llvm12ConstantExpr11getIntToPtrEPNS_8ConstantEPNS_4TypeEb)<br>
><br>
> ld: symbol(s) not found for architecture x86_64<br>
><br>
> clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
><br>
><br>
><br>
> Is anyone else seeing this?<br>
><br>
</div></div>> _______________________________________________<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>
_______________________________________________<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>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span><font color="#888888">-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);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">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><table cellspacing="0" cellpadding="0" style="color:rgb(136,136,136);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">Todd Fiala |</td><td nowrap style="border-top-style:solid;border-top-color:rgb(51,105,232);border-top-width:2px"> Software Engineer |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(0,153,57);border-top-width:2px"> <a href="mailto:tfiala@google.com" style="color:rgb(17,85,204)" target="_blank"><span style="background-color:rgb(255,255,204);color:rgb(34,34,34);background-repeat:initial initial">tfiala@google.com</span></a> |</td>
<td nowrap style="border-top-style:solid;border-top-color:rgb(238,178,17);border-top-width:2px"><font color="#1155cc"> <a>650-943-3180</a></font></td></tr></tbody></table><br></div>
</div>
</div></div></blockquote></div><br></div>