LLVM API Documentation

Namespaces | Defines | Enumerations | Functions | Variables
WinCOFFObjectWriter.cpp File Reference
#include "llvm/MC/MCWinCOFFObjectWriter.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/ADT/Twine.h"
#include "llvm/MC/MCAsmLayout.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCObjectWriter.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCSectionCOFF.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/COFF.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/TimeValue.h"
#include <cstdio>
Include dependency graph for WinCOFFObjectWriter.cpp:

Go to the source code of this file.

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Defines

#define DEBUG_TYPE   "WinCOFFObjectWriter"

Enumerations

enum  AuxiliaryType

Functions

static void write_uint32_le (void *Data, uint32_t const &Value)
static uint64_t getSymbolValue (const MCSymbolData &Data, const MCAsmLayout &Layout)
static void encodeBase64StringEntry (char *Buffer, uint64_t Value)
MCObjectWriterllvm::createWinCOFFObjectWriter (MCWinCOFFObjectTargetWriter *MOTW, raw_ostream &OS)
 Construct a new Win COFF writer instance.

Variables

static const unsigned Max6DecimalOffset = 999999
static const unsigned Max7DecimalOffset = 9999999
static const uint64_t MaxBase64Offset = 0xFFFFFFFFFULL

Define Documentation

#define DEBUG_TYPE   "WinCOFFObjectWriter"

Definition at line 37 of file WinCOFFObjectWriter.cpp.


Enumeration Type Documentation

Definition at line 42 of file WinCOFFObjectWriter.cpp.


Function Documentation

static void encodeBase64StringEntry ( char *  Buffer,
uint64_t  Value 
) [static]

Definition at line 507 of file WinCOFFObjectWriter.cpp.

References Max7DecimalOffset, and MaxBase64Offset.

static uint64_t getSymbolValue ( const MCSymbolData Data,
const MCAsmLayout Layout 
) [static]
static void write_uint32_le ( void *  Data,
uint32_t const Value 
) [inline, static]

Definition at line 199 of file WinCOFFObjectWriter.cpp.


Variable Documentation

const unsigned Max6DecimalOffset = 999999 [static]

Definition at line 500 of file WinCOFFObjectWriter.cpp.

const unsigned Max7DecimalOffset = 9999999 [static]

Definition at line 501 of file WinCOFFObjectWriter.cpp.

Referenced by encodeBase64StringEntry().

const uint64_t MaxBase64Offset = 0xFFFFFFFFFULL [static]

Definition at line 502 of file WinCOFFObjectWriter.cpp.

Referenced by encodeBase64StringEntry().