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

            Bug ID: 20127
           Summary: Mangler::getNameWithPrefix behavior differers string
                    overload and GV overload
           Product: libraries
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

When calling Mangler::getNameWithPrefix() with a GlobalVariable, the mangler
correctly notices a leading \1 "don't mangle me" sentinel, strips the sentinel,
and returns the unmangled symbol name.

When calling Mangler::getNameWithPrefix() with a Twine, the mangler does not
check for the \1 sentinel. This causes it to return a symbol like "_\1+[Class
method]" instead of "+[Class method]".

I believe that r200367 introduced the change in behavior.
http://reviews.llvm.org/rL200367

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

Reply via email to