LLVM  6.0.0svn
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 201 of file Dwarf.cpp.

◆ AttributeVersion()

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

Definition at line 83 of file Dwarf.cpp.

◆ FormVersion()

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

Definition at line 116 of file Dwarf.cpp.

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

◆ LanguageVersion()

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

Definition at line 318 of file Dwarf.cpp.

◆ OperationVersion()

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

Definition at line 160 of file Dwarf.cpp.

◆ TagVersion()

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

Definition at line 40 of file Dwarf.cpp.