http://llvm.org/bugs/show_bug.cgi?id=13176
Bug #: 13176
Summary: [Windows] Mangle back references in the presence of
function pointers correctly
Product: clang
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Here's a test:
void function_ptr_back_ref(void (*f_ptr)(void *), void *arg) {}
// CHECK: "\01?function_ptr_back_ref@@YAXP6AXPAX@Z0@Z"
Currently (r158916) it is mangled as
"\01?function_ptr_back_ref@@YAXP6AXPAX@ZPAX@Z"
The problem is in the Z0 vs ZPAX at the end.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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