LLVM  8.0.1
Functions
Dwarf version for constants

For constants defined by DWARF, returns the DWARF version when the constant was first defined. More...

Functions

unsigned llvm::dwarf::TagVersion (Tag T)
 
unsigned llvm::dwarf::AttributeVersion (Attribute A)
 
unsigned llvm::dwarf::FormVersion (Form F)
 
unsigned llvm::dwarf::OperationVersion (LocationAtom O)
 
unsigned llvm::dwarf::AttributeEncodingVersion (TypeKind E)
 
unsigned llvm::dwarf::LanguageVersion (SourceLanguage L)
 

Detailed Description

For constants defined by DWARF, returns the DWARF version when the constant was first defined.

For vendor extensions, if there is a version-related policy for when to emit it, returns a version number for that policy. Otherwise returns 0.

Function Documentation

◆ AttributeEncodingVersion()

unsigned llvm::dwarf::AttributeEncodingVersion ( dwarf::TypeKind  ATE)

Definition at line 202 of file Dwarf.cpp.

◆ AttributeVersion()

unsigned llvm::dwarf::AttributeVersion ( dwarf::Attribute  Attribute)

Definition at line 84 of file Dwarf.cpp.

◆ FormVersion()

unsigned llvm::dwarf::FormVersion ( dwarf::Form  Form)

Definition at line 117 of file Dwarf.cpp.

Referenced by llvm::dwarf::isValidFormForVersion().

◆ LanguageVersion()

unsigned llvm::dwarf::LanguageVersion ( dwarf::SourceLanguage  Lang)

Definition at line 319 of file Dwarf.cpp.

◆ OperationVersion()

unsigned llvm::dwarf::OperationVersion ( dwarf::LocationAtom  Op)

Definition at line 161 of file Dwarf.cpp.

◆ TagVersion()

unsigned llvm::dwarf::TagVersion ( dwarf::Tag  Tag)

Definition at line 41 of file Dwarf.cpp.