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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs