mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
6979fc1057
IsSymbolRefDifferenceFullyResolved, it turns out this does change behavior on enough cases for x86-32 that I would rather wait a bit on it. - In practice, we will want to change this eventually because it only means we generate less relocations (it also eliminates the need for the horrible '.set' hack that Darwin requires in some places). llvm-svn: 122042
23 lines
742 B
C++
23 lines
742 B
C++
//===-- MCMachObjectTargetWriter.cpp - Mach-O Target Writer Subclass ------===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "llvm/MC/MCMachObjectWriter.h"
|
|
|
|
using namespace llvm;
|
|
|
|
MCMachObjectTargetWriter::MCMachObjectTargetWriter(
|
|
bool Is64Bit_, uint32_t CPUType_, uint32_t CPUSubtype_,
|
|
bool UseAggressiveSymbolFolding_)
|
|
: Is64Bit(Is64Bit_), CPUType(CPUType_), CPUSubtype(CPUSubtype_),
|
|
UseAggressiveSymbolFolding(UseAggressiveSymbolFolding_) {
|
|
}
|
|
|
|
MCMachObjectTargetWriter::~MCMachObjectTargetWriter() {
|
|
}
|