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

#include "llvm/Object/IRSymtab.h"

Collaboration diagram for llvm::irsymtab::storage::Header:
Collaboration graph

Public Types

enum  { kCurrentVersion = 2 }

Public Attributes

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

Detailed Description

Definition at line 130 of file IRSymtab.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

Definition at line 135 of file IRSymtab.h.

Member Data Documentation

◆ COFFLinkerOpts

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

COFF-specific: linker directives.

Definition at line 151 of file IRSymtab.h.

◆ Comdats

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

Definition at line 144 of file IRSymtab.h.

◆ DependentLibraries

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

Dependent Library Specifiers.

Definition at line 154 of file IRSymtab.h.

◆ Modules

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

Definition at line 143 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 141 of file IRSymtab.h.

◆ SourceFileName

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

Definition at line 148 of file IRSymtab.h.

◆ Symbols

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

Definition at line 145 of file IRSymtab.h.

◆ TargetTriple

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

Definition at line 148 of file IRSymtab.h.

◆ Uncommons

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

Definition at line 146 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 134 of file IRSymtab.h.

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