Move the definition of this to the source file to anchor the vtable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116779 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2010-10-19 00:37:30 +00:00
parent 1dcb1eafbc
commit b5a2d3f8e3
2 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class MCSymbol;
class MCObjectFormat {
public:
virtual ~MCObjectFormat() {}
virtual ~MCObjectFormat();
/// isAbsolute - Check if A - B is an absolute value
///

View File

@ -12,6 +12,9 @@
using namespace llvm;
MCObjectFormat::~MCObjectFormat() {
}
bool MCELFObjectFormat::isAbsolute(bool IsSet, const MCSymbol &A,
const MCSymbol &B) const {
// On ELF A - B is absolute if A and B are in the same section.