<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
When compiling a release version on Linux with GCC 3.4.4, I get the following warnings repeated multiple times when linking LLVMCore.o:<BR>
<BR>
<PRE>
/usr/bin/ld: `.gnu.linkonce.t._ZNK4llvm11Instruction13getOpcodeNameEv' referenced in section `.gnu.linkonce.r._ZNK4llvm11Instruction13getOpcodeNameEv' of /proj/llvm/build/lib/VMCore/Release/Instruction.o: defined in discarded section `.gnu.linkonce.t._ZNK4llvm11Instruction13getOpcodeNameEv' of /proj/llvm/build/lib/VMCore/Release/Instruction.o
</PRE>
<BR>
This is apparently coming from Instruction.h: <BR>
<BR>
<PRE>
virtual const char *getOpcodeName() const {
  return getOpcodeName(getOpcode());
}

</PRE>
Would anyone object to me putting this method into Instruction.cpp so that the multiple (ignored) copies don't get generated? I don't think this is getting inlined anyway because it is virtual. Does it need to be virtual?<BR>
<BR>
Reid.
</BODY>
</HTML>