Bugs item #2931756, was opened at 2010-01-14 02:20
Message generated for change (Comment added) made by oberpapr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=2931756&group_id=3382

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marc Alff (crispydev)
Assigned to: Nobody/Anonymous (nobody)
Summary: Mangled C++ names in LCOV functions

Initial Comment:
Hi.

I just looked at a LCOV report for some code using C++, generated with LCOV 1.7.

First, thanks a lot for the new function coverage feature.

A minor bug:
In the report showing the function_name / hit count table,
names for C++ methods are using the C++ encoded name 
(_ZN13MYSQL_BIN_LOG25set_purge_index_file_nameEPKc),
where the demangled name (MYSQL_BIN_LOG::set_purge_index_file_name(char 
const*)) would be much nicer.

ma...@linux-su11:~> c++filt --version
GNU c++filt (GNU Binutils; openSUSE 11.1) 2.19

ma...@linux-su11:~> c++filt
"_ZN13MYSQL_BIN_LOG25set_purge_index_file_nameEPKc"
MYSQL_BIN_LOG::set_purge_index_file_name(char const*)

Regards,
-- Marc Alff


----------------------------------------------------------------------

Comment By: Peter Oberparleiter (oberpapr)
Date: 2010-01-18 10:23

Message:
The CVS version of LCOV already handles this problem: genhtml has a new
switch --demangle-cpp which, when called, will use c++filt to convert all
function names. There will be a new LCOV release soon containing this new
switch.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=103382&aid=2931756&group_id=3382

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to