[lldb-dev] Heads up: LLDB is broken with LLVM at ToT
Duncan P. N. Exon Smith
dexonsmith at apple.com
Tue Dec 9 13:52:38 PST 2014
I'm trying to build lldb now, but it's hung trying to build LLVM and
clang... but I already built these? I don't really understand.
Is there any way to make lldb point to my LLVM checkout? I just want to
see the compiler errors so I can fix them :(.
Alternatively, if some can email me a compile log with all the errors
(can you do a `make -k` or something?) I can send you a patch... this is
mechanical to update, but I need the compiler to tell me what's wrong.
I expect the fixes to all be along these lines:
- Value *Ops => Metadata *Ops
- cast<ConstantInt>(N->getOperand(0)) =>
- Value *Op = ConstantInt::get(...) =>
Metadata *Op = ConstantAsMetadata::get(ConstantInt::get(...))
Sorry for the breakage :(.
> On 2014 Dec 9, at 13:41, Zachary Turner <zturner at google.com> wrote:
> If you sync llvm past git revision db7b69e3a634c5fdff0eceeee2a41ee49c3270a2 (svn r223802), your LLDB build will be broken.
> 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.
> 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.
More information about the lldb-dev