LLVM 22.0.0git
llvm::irsymtab::storage::Symbol Struct Reference

Contains the information needed by linkers for symbol resolution, as well as by the LTO implementation itself. More...

#include "llvm/Object/IRSymtab.h"

Public Types

enum  FlagBits {
  FB_visibility , FB_has_uncommon = FB_visibility + 2 , FB_undefined , FB_weak ,
  FB_common , FB_indirect , FB_used , FB_tls ,
  FB_may_omit , FB_global , FB_format_specific , FB_unnamed_addr ,
  FB_executable
}

Public Attributes

Str Name
 The mangled symbol name.
Str IRName
 The unmangled symbol name, or the empty string if this is not an IR symbol.
Word ComdatIndex
 The index into Header::Comdats, or -1 if not a comdat member.
Word Flags

Detailed Description

Contains the information needed by linkers for symbol resolution, as well as by the LTO implementation itself.

Definition at line 92 of file IRSymtab.h.

Member Enumeration Documentation

◆ FlagBits

Enumerator
FB_visibility 
FB_has_uncommon 
FB_undefined 
FB_weak 
FB_common 
FB_indirect 
FB_used 
FB_tls 
FB_may_omit 
FB_global 
FB_format_specific 
FB_unnamed_addr 
FB_executable 

Definition at line 104 of file IRSymtab.h.

Member Data Documentation

◆ ComdatIndex

Word llvm::irsymtab::storage::Symbol::ComdatIndex

The index into Header::Comdats, or -1 if not a comdat member.

Definition at line 101 of file IRSymtab.h.

◆ Flags

Word llvm::irsymtab::storage::Symbol::Flags

Definition at line 103 of file IRSymtab.h.

◆ IRName

Str llvm::irsymtab::storage::Symbol::IRName

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

Definition at line 98 of file IRSymtab.h.

◆ Name

Str llvm::irsymtab::storage::Symbol::Name

The mangled symbol name.

Definition at line 94 of file IRSymtab.h.


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