[LLVMbugs] [Bug 9130] New: missing symbol definition

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 2 22:19:42 PST 2011


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

           Summary: missing symbol definition
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


When compiling

class nsOggCodecState {
  virtual int StartTime() {
    return -1;
  }
};
class nsVorbisState : public nsOggCodecState {
  virtual ~nsVorbisState();
};
nsVorbisState::~nsVorbisState() {
}

clang will produce

U __ZN15nsOggCodecState9StartTimeEv

gcc produces

S __ZN15nsOggCodecState9StartTimeEv

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