LLVM 20.0.0git
Public Types | Public Attributes | List of all members
llvm::irsymtab::storage::Header Struct Reference

#include "llvm/Object/IRSymtab.h"

Public Types

enum  { kCurrentVersion = 3 }
 

Public Attributes

Word Version
 Version number of the symtab format.
 
Str Producer
 The producer's version string (LLVM_VERSION_STRING " " LLVM_REVISION).
 
Range< ModuleModules
 
Range< ComdatComdats
 
Range< SymbolSymbols
 
Range< UncommonUncommons
 
Str TargetTriple
 
Str SourceFileName
 
Str COFFLinkerOpts
 COFF-specific: linker directives.
 
Range< StrDependentLibraries
 Dependent Library Specifiers.
 

Detailed Description

Definition at line 134 of file IRSymtab.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kCurrentVersion 

Definition at line 139 of file IRSymtab.h.

Member Data Documentation

◆ COFFLinkerOpts

Str llvm::irsymtab::storage::Header::COFFLinkerOpts

COFF-specific: linker directives.

Definition at line 155 of file IRSymtab.h.

◆ Comdats

Range<Comdat> llvm::irsymtab::storage::Header::Comdats

Definition at line 148 of file IRSymtab.h.

◆ DependentLibraries

Range<Str> llvm::irsymtab::storage::Header::DependentLibraries

Dependent Library Specifiers.

Definition at line 158 of file IRSymtab.h.

◆ Modules

Range<Module> llvm::irsymtab::storage::Header::Modules

Definition at line 147 of file IRSymtab.h.

◆ Producer

Str llvm::irsymtab::storage::Header::Producer

The producer's version string (LLVM_VERSION_STRING " " LLVM_REVISION).

Consumers should rebuild the symbol table from IR if the producer's version does not match the consumer's version due to potential differences in symbol table format, symbol enumeration order and so on.

Definition at line 145 of file IRSymtab.h.

Referenced by llvm::irsymtab::readBitcode().

◆ SourceFileName

Str llvm::irsymtab::storage::Header::SourceFileName

Definition at line 152 of file IRSymtab.h.

◆ Symbols

Range<Symbol> llvm::irsymtab::storage::Header::Symbols

Definition at line 149 of file IRSymtab.h.

◆ TargetTriple

Str llvm::irsymtab::storage::Header::TargetTriple

Definition at line 152 of file IRSymtab.h.

◆ Uncommons

Range<Uncommon> llvm::irsymtab::storage::Header::Uncommons

Definition at line 150 of file IRSymtab.h.

◆ Version

Word llvm::irsymtab::storage::Header::Version

Version number of the symtab format.

This number should be incremented when the format changes, but it does not need to be incremented if a change to LLVM would cause it to create a different symbol table.

Definition at line 138 of file IRSymtab.h.

Referenced by llvm::irsymtab::readBitcode().


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