LLVM API Documentation
#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>
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) |
MCObjectWriter * | llvm::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 DEBUG_TYPE "WinCOFFObjectWriter" |
Definition at line 37 of file WinCOFFObjectWriter.cpp.
enum AuxiliaryType |
Definition at line 42 of file WinCOFFObjectWriter.cpp.
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] |
Definition at line 408 of file WinCOFFObjectWriter.cpp.
References llvm::MCSymbolData::getCommonSize(), llvm::MCAsmLayout::getSymbolOffset(), llvm::MCSymbolData::isCommon(), and llvm::MCSymbolData::isExternal().
static void write_uint32_le | ( | void * | Data, |
uint32_t const & | Value | ||
) | [inline, static] |
Definition at line 199 of file WinCOFFObjectWriter.cpp.
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().