LLVM  5.0.0
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:
[legend]

Public Types

enum  { kCurrentVersion = 0 }
 

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< Module > Modules
 
Range< Comdat > Comdats
 
Range< Symbol > Symbols
 
Range< Uncommon > Uncommons
 
Str TargetTriple
 
Str SourceFileName
 
Str COFFLinkerOpts
 COFF-specific: linker directives. More...
 

Detailed Description

Definition at line 126 of file IRSymtab.h.

Member Enumeration Documentation

anonymous enum
Enumerator
kCurrentVersion 

Definition at line 131 of file IRSymtab.h.

Member Data Documentation

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

COFF-specific: linker directives.

Definition at line 147 of file IRSymtab.h.

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

Definition at line 140 of file IRSymtab.h.

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

Definition at line 139 of file IRSymtab.h.

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 137 of file IRSymtab.h.

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

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

Definition at line 144 of file IRSymtab.h.

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

Definition at line 141 of file IRSymtab.h.

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

Definition at line 144 of file IRSymtab.h.

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

Definition at line 142 of file IRSymtab.h.

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 130 of file IRSymtab.h.

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


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