Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Jan 2014 08:50:07 +0000
From:      Anna Garcia <annawgarcia11@gmail.com>
To:        freebsd-toolchain@freebsd.org
Subject:   www.freebsd.org
Message-ID:  <001a11c2ef8661fd1104f07718f3@google.com>

next in thread | raw e-mail | index | archive | help
SGksDQoNCkkganVzdCB3YW50ZWQgdG8gc2VuZCB5b3UgYSBxdWljayBub3RlLiBXaXRoIGEgZmV3
IHNpbXBsZSBjaGFuZ2VzIHRvIG1ha2UNCnlvdXIgc2l0ZSBtb3JlIFNFTy1mcmllbmRseSBJkm0g
c3VyZSB5b3UgY2FuIGNvbnZlcnQgbW9yZSB2aXNpdG9ycyBpbnRvDQpsZWFkcyBhbmQgZ2V0IGl0
IHBsYWNlZCBoaWdoZXIgaW4gdGhlIG9yZ2FuaWMgc2VhcmNoIHJlc3VsdHMsIGZvciBrZXl3b3Jk
cw0KdGhhdCBtYXR0ZXIgdG8geW91IHRoZSBtb3N0Lg0KDQpXZSBhcmUgYW4gQXVzdHJhbGlhbiBi
YXNlZCBjb21wYW55IHdpdGggYSBncmVhdCBpbi1ob3VzZSB0ZWNobmljYWwgdGVhbSB3aG8NCnJl
YWxseSBrbm93IHRoZWlyIHN0dWZmIGFib3V0IHNlYXJjaCBlbmdpbmUgb3B0aW1pemF0aW9uLg0K
DQpXb3VsZCB5b3UgbGlrZSBhIGJpdCBtb3JlIGluZm9ybWF0aW9uIGFib3V0IGhvdyB0byBnaXZl
IHlvdXIgd2Vic2l0ZSBhDQpib29zdCB3aXRoIGJldHRlciBTRU8/DQoNCkJlc3QgcmVnYXJkcywN
Cg0KQW5uYSBHYXJjaWENClNFTy9XRUIgU3BlY2lhbGlzdA0KDQpbaW1hZ2U6IExpbmtlZEluXSBb
aW1hZ2U6IEZhY2Vib29rXSBbaW1hZ2U6IFR3aXR0ZXJdIFtpbWFnZTogU2t5cGVdDQogICAgICAg
ICAgICAgUyAgIEUgIE8gICAgICAgICAgICAqU2VhcmNoIEVuZ2luZSBPcHRpbWl6YXRpb24qDQoN
CldlIHJlc3BlY3QgeW91ciBwcml2YWN5IGFuZCB3YW50IHRvIG1ha2Ugc3VyZSB5b3UgYXJlIGF3
YXJlIG9mIGEgZmV3DQp0aGluZ3MuIEJ5IHJlcGx5aW5nIHRvIHRoaXMgZW1haWwsIHlvdSBhdXRo
b3JpemUgb3VyIEF1c3RyYWxpYW4gYWZmaWxpYXRlcw0KdGhhdCBjYW4gaGVscCB3aXRoIHlvdXIg
cHJvamVjdCB0byBjYWxsIHlvdSBhdCB0aGUgbnVtYmVyIHlvdSBwcm92aWRlZCwgYW5kDQp5b3Ug
dW5kZXJzdGFuZCB0aGF0IHRoZXkgbWF5IHVzZSBhdXRvbWF0ZWQgcGhvbmUgdGVjaG5vbG9neSB0
byBjYWxsIHlvdS4gQXQNCm5vIHRpbWUgYXJlIHlvdSByZXF1aXJlZCB0byBtYWtlIGEgcHVyY2hh
c2UuDQo=
From owner-freebsd-toolchain@FreeBSD.ORG  Tue Jan 21 23:29:12 2014
Return-Path: <owner-freebsd-toolchain@FreeBSD.ORG>
Delivered-To: freebsd-toolchain@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 5FD798D1
 for <freebsd-toolchain@freebsd.org>; Tue, 21 Jan 2014 23:29:12 +0000 (UTC)
Received: from mail-lb0-x229.google.com (mail-lb0-x229.google.com
 [IPv6:2a00:1450:4010:c04::229])
 (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))
 (No client certificate requested)
 by mx1.freebsd.org (Postfix) with ESMTPS id D369D14BD
 for <freebsd-toolchain@freebsd.org>; Tue, 21 Jan 2014 23:29:11 +0000 (UTC)
Received: by mail-lb0-f169.google.com with SMTP id q8so6624312lbi.0
 for <freebsd-toolchain@freebsd.org>; Tue, 21 Jan 2014 15:29:10 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:date:from:to:subject:message-id:mime-version:content-type
 :content-disposition:user-agent;
 bh=prGXHRrmhtzbNf+pAcLf9mjRysf7h5eTnf5QGa15nQI=;
 b=NxTyOXfa4tE9mqCoFKOZA75W/GmQvavjWbQbYN6Kk2u2N/gfkY1d7uS/M84MmcFJMW
 XC/WpjDaAz8sFmplTGRsU6VdiulaH/WNPVo5hj+fZtqYOIdXERNgBRs1y8dbvK1tEDCl
 7iVmDR/bq5Wmeo+HoM2kemU9/OsyJuBXG+DvBb0nf9v86pEkebpwn73KISjaMRG0LZt9
 wHWW1wgmbvUwb0JGAPT+h4tesIrU32+uLkpbsAg9T0zm3t6TCzV3iW3g4MuvuzGJIXCr
 SVevm5qMhnuPj7kNVdQRnwIdotbWHnnizey/0FL7q4w+WeYA9zKyF+OyMqkEdsptHWFQ
 dGpQ==
X-Received: by 10.112.150.100 with SMTP id uh4mr17357435lbb.3.1390346949881;
 Tue, 21 Jan 2014 15:29:09 -0800 (PST)
Received: from localhost (s83-179-26-16.cust.tele2.se. [83.179.26.16])
 by mx.google.com with ESMTPSA id c15sm5547533lbq.11.2014.01.21.15.29.08
 for <freebsd-toolchain@freebsd.org>
 (version=TLSv1 cipher=RC4-SHA bits=128/128);
 Tue, 21 Jan 2014 15:29:09 -0800 (PST)
Sender: Kai Wang <kaiwang27@gmail.com>
Received: from localhost.localdomain ([127.0.0.1] helo=localhost.my.domain)
 by localhost with esmtp (Exim 4.80.1 (FreeBSD))
 (envelope-from <kaiw27@gmail.com>) id 1W5kkR-000DqR-Ji
 for freebsd-toolchain@freebsd.org; Wed, 22 Jan 2014 00:28:47 +0100
Received: (from kaiw@localhost)
 by localhost.my.domain (8.14.5/8.14.5/Submit) id s0LNSlsU053222
 for freebsd-toolchain@freebsd.org; Wed, 22 Jan 2014 00:28:47 +0100 (CET)
 (envelope-from kaiw27@gmail.com)
X-Authentication-Warning: localhost.my.domain: kaiw set sender to
 kaiw27@gmail.com using -f
Date: Wed, 22 Jan 2014 00:28:47 +0100
From: Kai Wang <kaiw27@gmail.com>
To: freebsd-toolchain@freebsd.org
Subject: [CFT] libelf/libdwarf import and ctfconvert update
Message-ID: <20140121232847.GA53197@soulhacker>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-BeenThere: freebsd-toolchain@freebsd.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Maintenance of FreeBSD's integrated toolchain
 <freebsd-toolchain.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-toolchain>, 
 <mailto:freebsd-toolchain-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-toolchain/>;
List-Post: <mailto:freebsd-toolchain@freebsd.org>
List-Help: <mailto:freebsd-toolchain-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-toolchain>, 
 <mailto:freebsd-toolchain-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2014 23:29:12 -0000

Hi list,

As some of you might already know, I'm working on integrating new
versions of libelf and libdwarf from elftoolchain project back to
FreeBSD and updating the ctfconvert tool for Clang 3.4 import.

The patch is available below and applies to head@r260988: (It could
be applied/tested together with dim@'s Clang 3.4 patch)

  http://people.freebsd.org/~kaiw/head-r260988-libdwarf-libelf-ctfconvert.diff.gz

Tests/reviews/comments are appreciated!


A short changelog:

* libelf and libdwarf in base is replaced by their counterparts in
  elftoolchain. The elftoolchain versions of these libraries
  originated from FreeBSD and have being maintained and furthur
  developed outside of FreeBSD source tree.
* The new version of libelf includes a few new APIs and numerous bug
  fixes (some of them have been merged back in the past years)
* The new version of libdwarf is based on jb@'s libdwarf in our src/
  tree and has support for dwarf call frame, line number info, among
  other things. Currently it supports reading DWARF[23] and partial
  DWARF4, and writing DWARF2. The APIs are 99% compatible with the LGPL
  libdwarf and are fully documented. Some of incompatible APIs from
  jb@'s libdwarf are kept as our own extensions.
* The ctfconvert tool is updated to use the API from the new libdwarf.
  Improvements were made so it can properly read/process dwarf info
  generated by Clang 3.4. (see r260880 and r260897 for details)


Thanks,
Kai



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a11c2ef8661fd1104f07718f3>