From owner-freebsd-current@FreeBSD.ORG Wed Dec 18 09:48:02 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94CC8306; Wed, 18 Dec 2013 09:48:02 +0000 (UTC) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 62E3F1B3C; Wed, 18 Dec 2013 09:48:01 +0000 (UTC) Received: from [192.168.0.89] (cpc27-cmbg15-2-0-cust235.5-4.cable.virginm.net [86.27.188.236]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id rBI9lpLt019462 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 18 Dec 2013 09:47:53 GMT (envelope-from theraven@FreeBSD.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: [HEADS UP] enabling LLDB debugger by default on amd64 From: David Chisnall In-Reply-To: Date: Wed, 18 Dec 2013 09:47:46 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <78F29456-61E9-4959-BE28-A70311118B79@FreeBSD.org> References: To: Ed Maste X-Mailer: Apple Mail (2.1822) Cc: FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2013 09:48:02 -0000 Hi Ed, How are you planning on building the LLVM / Clang libraries? Will they = be statically linked to the compiler and the debugger, or do you intend = to make them dynamic too? I found about a small slowdown with a dynamic = clang, but the link times were much lower when building. =20 Currently, the LLVM build is one of the big serialisation points in our = build system (we build each of the individual libraries entirely = independently), so if you're hacking on the build system it would = perhaps be nice to build a single libLLVM (in /lib/private) that could = compile all of the LLVM sources in parallel and then be used by Clang = and LLDB (and any LLVM-based binutils replacements we start to add). = This would likely more than offset the increased build time for LLDB on = any multicore system. David On 17 Dec 2013, at 22:15, Ed Maste wrote: > The in-tree snapshot of LLDB is at a point where it's usable and > suitable for wider testing on amd64, and so I intend to enable it by > default in the near future. >=20 > Further information on the FreeBSD port of LLDB is on the wiki, at > https://wiki.freebsd.org/lldb >=20 > On my desktop LLDB added about 5 minutes to a buildworld and 80MB to > objdir (over a baseline of about an hour and 1.8GB). If you wish to > avoid building it, you can add 'WITHOUT_LLDB=3D' to src.conf. >=20 > -Ed > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org"