[LLVMbugs] [Bug 19091] New: demangler does the wrong thing for operator>

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Mar 9 16:34:22 PDT 2014


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

            Bug ID: 19091
           Summary: demangler does the wrong thing for operator>
           Product: libc++abi
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: hhinnant at apple.com
          Reporter: richard-llvm at metafoo.co.uk
                CC: llvmbugs at cs.uiuc.edu, mclow.lists at gmail.com
    Classification: Unclassified

This

  _ZN1SgtEi

is demangled as

  int S::operator>()

The correct demangling is

  S::operator>(int)

The bug is that libc++abi tries to determine whether a bare-function-type has a
return type by checking whether the final character in the name is '>' (and the
penultimate character is neither '-' nor '>').

-- 
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/20140309/4251b00b/attachment.html>


More information about the llvm-bugs mailing list