LLVM 20.0.0git
Namespaces | Macros | Functions
ELFObjectWriter.cpp File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCAsmBackend.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCELFExtras.h"
#include "llvm/MC/MCELFObjectWriter.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCFixup.h"
#include "llvm/MC/MCFixupKindInfo.h"
#include "llvm/MC/MCFragment.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/MCTargetOptions.h"
#include "llvm/MC/MCValue.h"
#include "llvm/MC/StringTableBuilder.h"
#include "llvm/Support/Alignment.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/Compression.h"
#include "llvm/Support/Endian.h"
#include "llvm/Support/EndianStream.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/LEB128.h"
#include "llvm/Support/SMLoc.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/TargetParser/Host.h"
#include <cassert>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  stats
 

Macros

#define DEBUG_TYPE   "elf-object-writer"
 

Functions

static uint8_t mergeTypeForSet (uint8_t origType, uint8_t newType)
 
static bool isIFunc (const MCSymbolELF *Symbol)
 
template<bool Is64>
static void encodeCrel (ArrayRef< ELFRelocationEntry > Relocs, raw_ostream &OS)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "elf-object-writer"

Definition at line 60 of file ELFObjectWriter.cpp.

Function Documentation

◆ encodeCrel()

template<bool Is64>
static void encodeCrel ( ArrayRef< ELFRelocationEntry Relocs,
raw_ostream OS 
)
static

Definition at line 809 of file ELFObjectWriter.cpp.

References OS.

◆ isIFunc()

static bool isIFunc ( const MCSymbolELF Symbol)
static

◆ mergeTypeForSet()

static uint8_t mergeTypeForSet ( uint8_t  origType,
uint8_t  newType 
)
static