[lldb-dev] Editline Rewrite : issues surround wide character handling on different platforms

Bruce Mitchener bruce.mitchener at gmail.com
Wed Oct 29 00:12:33 PDT 2014


On Wed, Oct 29, 2014 at 1:46 PM, Matthew Gardiner <mg11 at csr.com> wrote:

> On Tue, 2014-10-28 at 23:40 -0700, Enrico Granata wrote:
> > With that said, building LLDB requires building LLVM and clang as
> prerequisites.
> > So there definitely is a clang available if LLDB is being built.
> > I wonder if one could setup things to bootstrap a clang with gcc, and
> then rebuild the entire LLVM, clang, lldb toolset with that built clang.
> >
>
> Yes, of course that's possible. But I'd argue that just makes things
> more complex, and less attractive for newcomers to the project.
>
> Incidentally, why does lldb require clang to be built as a prerequisite?
> Given that I can use it to debug a linux binary built with gcc, why do I
> need to build another compiler along the way?
>

Because LLDB re-uses parts of Clang ... grep for "clang::" in the codebase
and you'll see a lot of it.

I personally wish it weren't quite this way and that the layering were
different ... but that ship may have sailed a long time ago.

 - Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141029/7412c25b/attachment.html>


More information about the lldb-dev mailing list