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

           Summary: extra symbol in llvm-gcc output
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-g++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


if the code

class LogMessage {
  LogMessage(const char* file, int line);
  void SendToLog();
  void Init(void (LogMessage::*send_method)());
};
LogMessage::LogMessage(const char* file, int line) {
  Init(&LogMessage::SendToLog);
}

is compiled with llvm-gcc, the symbol _ZZN10LogMessageC4EPKciE4C.99 is present
in the output binary. If it is compiled with a normal gcc it isn't.


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

Reply via email to