LLVM 22.0.0git
MachObjectWriter.cpp File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/MachO.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAsmInfoDarwin.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCDirectives.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCMachObjectWriter.h"
#include "llvm/MC/MCObjectFileInfo.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolMachO.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cassert>
#include <cstdint>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "mc"

Functions

static bool isSymbolLinkerVisible (const MCSymbol &Symbol)
static unsigned ComputeLinkerOptionsLoadCommandSize (const std::vector< std::string > &Options, bool is64Bit)
static bool isFixupTargetValid (const MCValue &Target)
static MachO::LoadCommandType getLCFromMCVM (MCVersionMinType Type)

Macro Definition Documentation

โ—† DEBUG_TYPE

#define DEBUG_TYPE   "mc"

Definition at line 41 of file MachObjectWriter.cpp.

Function Documentation

โ—† ComputeLinkerOptionsLoadCommandSize()

unsigned ComputeLinkerOptionsLoadCommandSize ( const std::vector< std::string > & Options,
bool is64Bit )
static

โ—† getLCFromMCVM()

โ—† isFixupTargetValid()

bool isFixupTargetValid ( const MCValue & Target)
static

Definition at line 500 of file MachObjectWriter.cpp.

Referenced by llvm::MachObjectWriter::recordRelocation().

โ—† isSymbolLinkerVisible()

bool isSymbolLinkerVisible ( const MCSymbol & Symbol)
static