Installing LLDB 3.2 on linux?

We have a linux system that uses LLVM 3.2 and Clang 3.2. I would really
like to have LLDB available, as well.

However, I have not found an official repo of LLDB 3.2, even though the
release notes for LLVM 3.2
<http://llvm.org/releases/3.2/docs/ReleaseNotes.html> do mention it.

svn ls http://llvm.org/svn/llvm-project/lldb/tags
shows lots of LLDB tags, but none that are labelled 3.2. Is one of them
the right choice, and does it work well on linux?

Any suggestions on how best to proceed? Given a choice we prefer stable
releases, but robustness is even more important.

-- Russell

There has been a lot of work done on Linux in the past 6 months. I am afraid that if you grab LLDB sources from that long ago the linux LLDB won't be very functional.

Greg

Russell,

to elaborate on Greg’s point, LLDB for Linux is an evolving creature and
isn’t yet at the point where we can cut a release and call it “stable.” You’re
going to have a much better experience by using as recent an SVN checkout
as possible.

Sean

Hi Russell,

The most robust LLDB is the one in trunk right now. Check out the status
page for more info: http://lldb.llvm.org/status.html

To build the latest LLDB, see: http://lldb.llvm.org/build.html

There are a few people working to get Debian and Ubuntu packages ready, so
those would make the installation a bit easier. However, it might be a
little while before we see those packages make it into distributions.

For the time being, as Sean and Greg mentioned, your best bet is to build
from the latest trunk, and report the bugs you run into at llvm.org/bugs :slight_smile:

Good luck,
Dan

In article <C4D6ED9A-F8EA-49F8-B573-4E2828A33A22@apple.com>,

Russell,

to elaborate on Greg's point, LLDB for Linux is an evolving creature and
isn't yet at the point where we can cut a release and call it "stable."
You're
going to have a much better experience by using as recent an SVN checkout
as possible.

Sean

Thank you all for your helpful and quick replies.

One more question, please: If I build LLDB trunk against Clang and LLVM
trunk, must I also use that trunk of Clang and LLVM for compiling my
code? Or may I continue to use the 3.2 releases of Clang and LLVM (and
does it make sense to do so)?

-- Russell

P.S. I love LLDB with Clang and LLVM on my Mac. That is why I'm so keen
to have it on linux.

Russell,

lldb can (and ought to) use debug information from any clang released before it. You do not need to synchronize.

Sean

Just to be sure:
You don’t have to build programs with the same revision clang to debug them in lldb, but you must checkout the same revision of the three projects to build lldb.

Regards,

Filipe Cabecinhas