Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464354 - sys-devel/lldb - LLVM's LLDB debugger
Summary: sys-devel/lldb - LLVM's LLDB debugger
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Bernard Cafarelli
URL: http://lldb.llvm.org/
Whiteboard:
Keywords:
Depends on:
Blocks: 475728
  Show dependency tree
 
Reported: 2013-04-03 13:32 UTC by Daniel
Modified: 2015-09-03 09:48 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel 2013-04-03 13:32:42 UTC
LLDB is a C/C++/Objective-C debugger (similar to GDB), using the LLVM ecosystem  thus depending on LLVM/Clang.

Python can be used interactively from inside LLDB; and there's a Python module, which exports the LLDB API.

By now LLDB's Linux status looks promising: http://lldb.llvm.org/status.html


It would be great to have a ebuild ready for this cool tool.

Reproducible: Always
Comment 1 David Heidelberg (okias) 2013-12-13 01:51:56 UTC
http://bpaste.net/show/158091/ here is concept of ebuild based on "llvm-9999.ebuild" from portage, I wrote this on laptop, so I'll test yesterday. It "should" work.

Please test.

TomWij: it's part of llvm ebuild, so I think, we already have maintainer :)
Comment 2 David Heidelberg (okias) 2013-12-13 02:00:30 UTC
... of course retest with USE="lldb" ;)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-12-16 21:57:27 UTC
My first attempt ended up with you're-not-using-C++11 errors. I guess we'll need to build whole LLVM with c++11 to support it, and that brings us to bug #475728. Since now there's a valid use case for it, I will attempt to handle it, though it may require changes to a lot of packages.
Comment 4 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-11-28 23:09:36 UTC
What's the current status?
Comment 5 Thomas Capricelli 2015-04-20 14:21:01 UTC
c++11 is now required for llvm/clang (ebuild updated in tree long ago) so this should not block lldb anymore.

There are some out-of-tree ebuilds for lldb already (found with google).

and lldb is said to finally be usable for amd64.
Comment 6 Bernard Cafarelli gentoo-dev 2015-06-12 15:47:46 UTC
Now that mgorny has converted the live llvm ebuild to cmake, lldb build seems to work much better. I should have a test version for this soon
Comment 7 Bernard Cafarelli gentoo-dev 2015-06-15 13:15:51 UTC
I just added USE=lldb to llvm-9999 (USE=libedit is recommended if you want to have readline-like command line support)
Comment 8 Bernard Cafarelli gentoo-dev 2015-09-03 09:48:56 UTC
And 3.7.0 is now unmasked, with USE=lldb available.

Thanks everyone for your patience