LLVM  6.0.0svn
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
[legend]

Public Types

enum  { kCurrentVersion = 1 }
 

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...
 

Detailed Description

Definition at line 129 of file IRSymtab.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
kCurrentVersion 

Definition at line 134 of file IRSymtab.h.

Member Data Documentation

◆ COFFLinkerOpts

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

COFF-specific: linker directives.

Definition at line 150 of file IRSymtab.h.

◆ Comdats

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

Definition at line 143 of file IRSymtab.h.

◆ Modules

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

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

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

◆ SourceFileName

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

Definition at line 147 of file IRSymtab.h.

◆ Symbols

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

Definition at line 144 of file IRSymtab.h.

◆ TargetTriple

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

Definition at line 147 of file IRSymtab.h.

◆ Uncommons

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

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

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


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