LLVM API Documentation

llvm::MachOSym Struct Reference

#include <MachOWriter.h>

Collaboration diagram for llvm::MachOSym:
[legend]

List of all members.

Public Types

enum  { NO_SECT = 0 }
enum  {
  N_UNDF = 0x0, N_ABS = 0x2, N_SECT = 0xe, N_PBUD = 0xc,
  N_INDR = 0xa
}
enum  { N_EXT = 0x01, N_PEXT = 0x10 }
enum  {
  REFERENCE_FLAG_UNDEFINED_NON_LAZY = 0, REFERENCE_FLAG_UNDEFINED_LAZY = 1, REFERENCE_FLAG_DEFINED = 2, REFERENCE_FLAG_PRIVATE_DEFINED = 3,
  REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY = 4, REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY = 5
}
enum  { N_NO_DEAD_STRIP = 0x0020, N_WEAK_REF = 0x0040, N_WEAK_DEF = 0x0080 }

Public Member Functions

 MachOSym (const GlobalValue *gv, std::string name, uint8_t sect, TargetMachine &TM)

Public Attributes

const GlobalValue * GV
std::string GVName
uint32_t n_strx
uint8_t n_type
uint8_t n_sect
int16_t n_desc
uint64_t n_value


Detailed Description

MachOSym - This struct contains information about each symbol that is added to logical symbol table for the module. This is eventually turned into a real symbol table in the file.

Definition at line 37 of file MachOWriter.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
NO_SECT 

Definition at line 48 of file MachOWriter.h.

anonymous enum

Enumerator:
N_UNDF 
N_ABS 
N_SECT 
N_PBUD 
N_INDR 

Definition at line 52 of file MachOWriter.h.

anonymous enum

Enumerator:
N_EXT 
N_PEXT 

Definition at line 60 of file MachOWriter.h.

anonymous enum

Enumerator:
REFERENCE_FLAG_UNDEFINED_NON_LAZY 
REFERENCE_FLAG_UNDEFINED_LAZY 
REFERENCE_FLAG_DEFINED 
REFERENCE_FLAG_PRIVATE_DEFINED 
REFERENCE_FLAG_PRIVATE_UNDEFINED_NON_LAZY 
REFERENCE_FLAG_PRIVATE_UNDEFINED_LAZY 

Definition at line 66 of file MachOWriter.h.

anonymous enum

Enumerator:
N_NO_DEAD_STRIP 
N_WEAK_REF 
N_WEAK_DEF 

Definition at line 73 of file MachOWriter.h.


Constructor & Destructor Documentation

MachOSym::MachOSym ( const GlobalValue *  gv,
std::string  name,
uint8_t  sect,
TargetMachine &  TM 
)


Member Data Documentation

Definition at line 38 of file MachOWriter.h.

Definition at line 39 of file MachOWriter.h.

Referenced by MachOSym().

Definition at line 40 of file MachOWriter.h.

Definition at line 41 of file MachOWriter.h.

Referenced by MachOSym().

Definition at line 42 of file MachOWriter.h.

Definition at line 43 of file MachOWriter.h.

Definition at line 44 of file MachOWriter.h.


The documentation for this struct was generated from the following files: