Re: ctfconvert broken for C++ objects?

2014-03-02 Thread Justin T. Gibbs
On Mar 2, 2014, at 6:16 AM, Dimitry Andric d...@freebsd.org wrote: On 21 Feb 2014, at 23:47, Justin T. Gibbs gi...@freebsd.org wrote: On Feb 20, 2014, at 10:26 AM, Roman Divacky rdiva...@freebsd.org wrote: The dwarf backend for ctfconvert was completely reimplemented a few weeks ago. It's

Re: ctfconvert broken for C++ objects?

2014-02-21 Thread Justin T. Gibbs
On Feb 20, 2014, at 10:26 AM, Roman Divacky rdiva...@freebsd.org wrote: The dwarf backend for ctfconvert was completely reimplemented a few weeks ago. It's now based on elftoolchain libdwarf. Test on current. The failures I’ve experienced occur when attempting to ctfconvert the C++ code in

ctfconvert broken for C++ objects?

2014-02-20 Thread Justin T. Gibbs
I noticed that ctfmerge was warning about missing CTF data when compiling “PROG_CXX” programs. I tracked this down to missing ctfconvert calls when compiling C++ objects. Unfortunately, ctfconvert segfaults in libdwarf on all of the C++ code I tried. Attached is a quick hack to avoid the