bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/14344] FAIL: gdb_index_test_[12].sh


From: hjl.tools at gmail dot com
Subject: [Bug gold/14344] FAIL: gdb_index_test_[12].sh
Date: Fri, 13 Jul 2012 17:36:43 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=14344

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2012-07-13 17:36:43 
UTC ---
Created attachment 6527
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6527
A testcase

address@hidden pr14344]$ nm  --demangle gcc-4.7  | grep const
000000000040081a W bool check<two::c2<int const*> >(two::c2<int const*>*)
0000000000400864 W two::c2<int const*>::val()
000000000040077c W two::c2<int const*>::c2(int const*)
000000000040077c W two::c2<int const*>::c2(int const*)
00000000004008aa W two::c2<int const*>::~c2()
00000000004008aa W two::c2<int const*>::~c2()
address@hidden pr14344]$ readelf --debug-dump=gdb_index gcc-4.7  | grep const
readelf: Warning: Version 5 does not include inlined functions.
readelf: Warning: Version 6 does not include symbol attributes.
[139] two::c2<const int*>::c2: 0 [no symbol information]
[326] check<two::c2<const int*> >: 0 [no symbol information]
[468] two::c2<const int*>::val: 0 [no symbol information]
[616] two::c2<const int*>::~c2: 0 [no symbol information]
[752] two::c2<const int*>: 0 [no symbol information]
address@hidden pr14344]$ 

For GCC 4.7, --gdb-index generates different demangled symbol names.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]