[LLVMbugs] [Bug 13176] New: [Windows] Mangle back references in the presence of function pointers correctly

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 22 10:08:49 PDT 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: timurrrr at google.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Here's a test:

void function_ptr_back_ref(void (*f_ptr)(void *), void *arg) {}
// CHECK: "\01?function_ptr_back_ref@@YAXP6AXPAX at Z0@Z"

Currently (r158916) it is mangled as
"\01?function_ptr_back_ref@@YAXP6AXPAX at 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.



More information about the llvm-bugs mailing list