[LLVMbugs] [Bug 13444] New: [Windows] Wrong mangling of "const char * const *"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jul 24 07:41:16 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13444

             Bug #: 13444
           Summary: [Windows] Wrong mangling of "const char * const *"
           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


The mangling is broken when using `-cxx-abi microsoft`:
$ cat const_arrays.cpp
extern const char* const* global;
// CHECK: "\01?global@@3PBQBDB"
//   NOW: "\01?global@@3PQBDA"
// Probably related to PR13182

void foo(const char* const* arg) {
// CHECK: "\01?foo@@YAXPBQBD at Z"
//   NOW: "\01?foo@@YAXPQBD at Z"
// Probably UN-related to PR13182
  if (global[0]) arg++;
}

-- 
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