[Bug 1052] demangle/abi_examples/{01,02}

[email protected]
Newsgroups gmane.linux.lsb.test-suite
Message-ID <[email protected]>


------- Additional Comments From [email protected]  2005-08-02 11:40 -------
Additional information: in the referenced spec where it talks about the
__cxa_demangle interface, it says:

Behavior: The return value is a pointer to a null-terminated array of
characters, the demangled name. Ambiguities are possible between extern "C"
object names and type manglings, e.g. "i" may be either an object named "i" or
the built-in "int" type. Such ambiguous arguments are assumed to be type
manglings. If the user has a set of external names to demangle, they should
check that the names are in fact mangled (that is, begin with "_Z") before
passing them to __cxa_demangle.

The test is in fact calling __cxa_demangle with 'f', which may be an object
named 'f' or the built-in 'float' type, and the resolution of this seems to be
the change that was made in the demangler.  Should we even be testing this?   
 
--    
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.