forked from OSchip/llvm-project
parent
bf84b8fa3b
commit
8ed44466c2
|
@ -139,7 +139,7 @@ static TargetLoweringObjectFile *createTLOF(X86TargetMachine &TM) {
|
|||
|
||||
if (Subtarget->isTargetEnvMacho()) {
|
||||
if (is64Bit)
|
||||
return new X8664_MachoTargetObjectFile();
|
||||
return new X86_64MachoTargetObjectFile();
|
||||
return new TargetLoweringObjectFileMachO();
|
||||
}
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
using namespace llvm;
|
||||
using namespace dwarf;
|
||||
|
||||
const MCExpr *X8664_MachoTargetObjectFile::
|
||||
const MCExpr *X86_64MachoTargetObjectFile::
|
||||
getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
|
||||
MachineModuleInfo *MMI, unsigned Encoding,
|
||||
MCStreamer &Streamer) const {
|
||||
|
@ -40,7 +40,7 @@ getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
|
|||
getExprForDwarfGlobalReference(GV, Mang, MMI, Encoding, Streamer);
|
||||
}
|
||||
|
||||
MCSymbol *X8664_MachoTargetObjectFile::
|
||||
MCSymbol *X86_64MachoTargetObjectFile::
|
||||
getCFIPersonalitySymbol(const GlobalValue *GV, Mangler *Mang,
|
||||
MachineModuleInfo *MMI) const {
|
||||
return Mang->getSymbol(GV);
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
/// X8664_MachoTargetObjectFile - This TLOF implementation is used for Darwin
|
||||
/// X86_64MachoTargetObjectFile - This TLOF implementation is used for Darwin
|
||||
/// x86-64.
|
||||
class X8664_MachoTargetObjectFile : public TargetLoweringObjectFileMachO {
|
||||
class X86_64MachoTargetObjectFile : public TargetLoweringObjectFileMachO {
|
||||
public:
|
||||
virtual const MCExpr *
|
||||
getExprForDwarfGlobalReference(const GlobalValue *GV, Mangler *Mang,
|
||||
|
|
Loading…
Reference in New Issue