LLVM 19.0.0git
Classes | Macros | Functions | Variables
COFFDirectiveParser.cpp File Reference
#include "COFFDirectiveParser.h"
#include <array>
#include "COFFOptions.inc"

Go to the source code of this file.

Classes

class  COFFOptTable
 

Macros

#define DEBUG_TYPE   "jitlink"
 
#define PREFIX(NAME, VALUE)
 
#define PREFIX_UNION(VALUES)   VALUES
 
#define OPTION(...)    LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX(COFF_OPT_, __VA_ARGS__),
 

Functions

static constexpr const ArrayRef< StringLiteralPrefixTable (PrefixTable_init, std::size(PrefixTable_init) - 1)
 

Variables

static constexpr const StringLiteral PrefixTable_init []
 
static constexpr opt::OptTable::Info infoTable []
 
static COFFOptTable optTable
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "jitlink"

Definition at line 20 of file COFFDirectiveParser.cpp.

◆ OPTION

#define OPTION (   ...)     LLVM_CONSTRUCT_OPT_INFO_WITH_ID_PREFIX(COFF_OPT_, __VA_ARGS__),

◆ PREFIX

#define PREFIX (   NAME,
  VALUE 
)
Value:
static constexpr StringLiteral NAME##_init[] = VALUE; \
static constexpr ArrayRef<StringLiteral> NAME(NAME##_init, \
std::size(NAME##_init) - 1);
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Definition: ArrayRef.h:41
A wrapper around a string literal that serves as a proxy for constructing global tables of StringRefs...
Definition: StringRef.h:849

Definition at line 23 of file COFFDirectiveParser.cpp.

◆ PREFIX_UNION

#define PREFIX_UNION (   VALUES)    VALUES

Function Documentation

◆ PrefixTable()

static constexpr const ArrayRef< StringLiteral > PrefixTable ( PrefixTable_init  ,
std::size(PrefixTable_init) -  1 
)
staticconstexpr

Variable Documentation

◆ infoTable

constexpr opt::OptTable::Info infoTable[]
staticconstexpr
Initial value:
= {
#define OPTION(...)
}

Definition at line 40 of file COFFDirectiveParser.cpp.

◆ optTable

COFFOptTable optTable
static

Definition at line 52 of file COFFDirectiveParser.cpp.

Referenced by llvm::jitlink::COFFDirectiveParser::parse().

◆ PrefixTable_init

constexpr const StringLiteral PrefixTable_init[]
staticconstexpr
Initial value:
=
#define PREFIX_UNION(VALUES)

Definition at line 30 of file COFFDirectiveParser.cpp.