struct Symbol

Declaration

struct Symbol { /* full declaration omitted */ };

Description

This represents a symbol that has been read from a storage::Symbol and possibly a storage::Uncommon.

Declared at: llvm/include/llvm/Object/IRSymtab.h:170

Member Variables

public llvm::StringRef Name
public llvm::StringRef IRName
public int ComdatIndex
public uint32_t Flags
public uint32_t CommonSize
public uint32_t CommonAlign
public llvm::StringRef COFFWeakExternFallbackName
public llvm::StringRef SectionName

Method Overview

Methods

bool canBeOmittedFromSymbolTable() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:205

llvm::StringRef getCOFFWeakExternalFallback()
    const

Description

COFF-specific: for weak externals, returns the name of the symbol that is used as a fallback if the weak external remains undefined.

Declared at: llvm/include/llvm/Object/IRSymtab.h:226

int getComdatIndex() const

Description

Returns the index into the comdat table (see Reader::getComdatTable()), or -1 if not a comdat member.

Declared at: llvm/include/llvm/Object/IRSymtab.h:190

uint32_t getCommonAlignment() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:219

uint64_t getCommonSize() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:214

llvm::StringRef getIRName() const

Description

Returns the unmangled symbol name, or the empty string if this is not an IR symbol.

Declared at: llvm/include/llvm/Object/IRSymtab.h:186

llvm::StringRef getName() const

Description

Returns the mangled symbol name.

Declared at: llvm/include/llvm/Object/IRSymtab.h:182

llvm::StringRef getSectionName() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:231

GlobalValue::VisibilityTypes getVisibility() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:194

bool isCommon() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:200

bool isExecutable() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:212

bool isFormatSpecific() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:210

bool isGlobal() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:209

bool isIndirect() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:201

bool isTLS() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:203

bool isUndefined() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:198

bool isUnnamedAddr() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:211

bool isUsed() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:202

bool isWeak() const

Declared at: llvm/include/llvm/Object/IRSymtab.h:199