[LLVMbugs] [Bug 15900] New: [-cxx-abi microsoft] Incorrect mangling for member pointer globals
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 2 10:31:45 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=15900
Bug ID: 15900
Summary: [-cxx-abi microsoft] Incorrect mangling for member
pointer globals
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
Assignee: unassignedclangbugs at nondot.org
Reporter: reid.kleckner at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Clang and MSVC mangle this differently:
struct B;
int B::*memptr;
msvc: ?memptr@@3PQB@@HQ1@
clang: ?memptr@@3PQB@@HA
It looks like it has to do with how we mangle qualifiers. See the IsMember arg
to mangleQualifiers, which seems to exist for the sole purpose of changing
these codes for member pointers.
Maybe that should only kick in when a memptr type is used in a template or
argument context.
--
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/20130502/4980c48e/attachment.html>
More information about the llvm-bugs
mailing list