[llvm-bugs] [Bug 25103] New: _cxa_demangle improperly demangles virtual thunks
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Oct 7 21:49:52 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=25103
Bug ID: 25103
Summary: _cxa_demangle improperly demangles virtual thunks
Product: libc++
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: jason.brian.king at gmail.com
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
Classification: Unclassified
Attempting to demangle '_ZTv0_n12_NSt9strstreamD0Ev' results in 'non-virtual
thunk to std::strstream::~strstream()'. However, unless I'm really misreading
the ABI incorrectly, this should be a _virtual_ thunk.
It would appear the culprit is line 4417 of cxa_demangle.cpp -- it should be
looking at first[1], not first[2].
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151008/0a4cdb6e/attachment.html>
More information about the llvm-bugs
mailing list