LLVM  12.0.0git
Macros | Enumerations | Functions
WinCOFFObjectWriter.cpp File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/COFF.h"
#include "llvm/MC/MCAsmLayout.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCFixup.h"
#include "llvm/MC/MCFragment.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCSectionCOFF.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolCOFF.h"
#include "llvm/MC/MCValue.h"
#include "llvm/MC/MCWinCOFFObjectWriter.h"
#include "llvm/MC/StringTableBuilder.h"
#include "llvm/Support/CRC.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/EndianStream.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 <cstddef>
#include <cstdint>
#include <cstring>
#include <ctime>
#include <memory>
#include <string>
#include <vector>
Include dependency graph for WinCOFFObjectWriter.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "WinCOFFObjectWriter"
 

Enumerations

enum  AuxiliaryType
 
enum  : unsigned { Max7DecimalOffset = 9999999U }
 
enum  : uint64_t { MaxBase64Offset = 0xFFFFFFFFFULL }
 

Functions

static uint32_t getAlignment (const MCSectionCOFF &Sec)
 
static uint64_t getSymbolValue (const MCSymbol &Symbol, const MCAsmLayout &Layout)
 
static void encodeBase64StringEntry (char *Buffer, uint64_t Value)
 
static std::time_t getTime ()
 
static bool isAssociative (const COFFSection &Section)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "WinCOFFObjectWriter"

Definition at line 55 of file WinCOFFObjectWriter.cpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : unsigned
Enumerator
Max7DecimalOffset 

Definition at line 429 of file WinCOFFObjectWriter.cpp.

◆ anonymous enum

anonymous enum : uint64_t
Enumerator
MaxBase64Offset 

Definition at line 430 of file WinCOFFObjectWriter.cpp.

◆ AuxiliaryType

Definition at line 61 of file WinCOFFObjectWriter.cpp.

Function Documentation

◆ encodeBase64StringEntry()

static void encodeBase64StringEntry ( char Buffer,
uint64_t  Value 
)
static

◆ getAlignment()

static uint32_t getAlignment ( const MCSectionCOFF Sec)
static

◆ getSymbolValue()

static uint64_t getSymbolValue ( const MCSymbol Symbol,
const MCAsmLayout Layout 
)
static

◆ getTime()

static std::time_t getTime ( )
static

◆ isAssociative()

static bool isAssociative ( const COFFSection &  Section)
static