[LLVMbugs] [Bug 3267] New: extra symbol in llvm-gcc output

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sun Dec 28 06:55:31 PST 2008


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: rafael.espindola at gmail.com
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list