LLVM 20.0.0git
|
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/Twine.h"
#include "llvm/ADT/iterator_range.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/MCFixupKindInfo.h"
#include "llvm/MC/MCFragment.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/LEB128.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) |
#define DEBUG_TYPE "mc" |
Definition at line 45 of file MachObjectWriter.cpp.
|
static |
Definition at line 476 of file MachObjectWriter.cpp.
References llvm::alignTo(), is64Bit(), Options, and Size.
Referenced by llvm::MachObjectWriter::writeLinkerOptionsLoadCommand(), and llvm::MachObjectWriter::writeObject().
|
static |
Definition at line 772 of file MachObjectWriter.cpp.
References llvm_unreachable, llvm::MCVM_IOSVersionMin, llvm::MCVM_OSXVersionMin, llvm::MCVM_TvOSVersionMin, and llvm::MCVM_WatchOSVersionMin.
Referenced by llvm::MachObjectWriter::writeObject().
Definition at line 509 of file MachObjectWriter.cpp.
Referenced by llvm::MachObjectWriter::recordRelocation().
Definition at line 146 of file MachObjectWriter.cpp.
Referenced by llvm::MachObjectWriter::computeSymbolTable(), and llvm::MachObjectWriter::getAtom().