#ifndef LLVM_MC_MCOBJECTFORMAT_H
#define LLVM_MC_MCOBJECTFORMAT_H
namespace llvm {
class MCSymbol;
class MCObjectFormat {
public:
virtual ~MCObjectFormat();
virtual bool isAbsolute(bool InSet, const MCSymbol &A,
const MCSymbol &B) const = 0;
};
class MCELFObjectFormat : public MCObjectFormat {
public:
virtual bool isAbsolute(bool InSet, const MCSymbol &A,
const MCSymbol &B) const;
};
class MCMachOObjectFormat : public MCObjectFormat {
public:
virtual bool isAbsolute(bool InSet, const MCSymbol &A,
const MCSymbol &B) const;
};
class MCCOFFObjectFormat : public MCObjectFormat {
public:
virtual bool isAbsolute(bool InSet, const MCSymbol &A,
const MCSymbol &B) const;
};
}
#endif