Top Inners Fields Constructors Methods
org.lwjgl.llvm

public Class LLVMDebugInfo

extends Object
Class Inheritance
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
LLVMDebugInfo.Functions

Contains the function pointers loaded from LLVMCore.getLibrary().

Field Summary

Modifier and TypeField and Description
public static final int
LLVMConstantAsMetadataMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIArgListMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIAssignIDMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIBasicTypeMetadataKind

The kind of metadata nodes.

public static final int
LLVMDICommonBlockMetadataKind

The kind of metadata nodes.

public static final int
LLVMDICompileUnitMetadataKind

The kind of metadata nodes.

public static final int
LLVMDICompositeTypeMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIDerivedTypeMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIEnumeratorMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIExpressionMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIFileMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIFlagAccessibility

Debug info flags.

public static final int
LLVMDIFlagAppleBlock

Debug info flags.

public static final int
LLVMDIFlagArtificial

Debug info flags.

public static final int
LLVMDIFlagBigEndian

Debug info flags.

public static final int
LLVMDIFlagBitField

Debug info flags.

public static final int
LLVMDIFlagEnumClass

Debug info flags.

public static final int
LLVMDIFlagExplicit

Debug info flags.

public static final int
LLVMDIFlagFixedEnum

Debug info flags.

public static final int
LLVMDIFlagFwdDecl

Debug info flags.

public static final int
public static final int
LLVMDIFlagIntroducedVirtual

Debug info flags.

public static final int
LLVMDIFlagLittleEndian

Debug info flags.

public static final int
LLVMDIFlagLValueReference

Debug info flags.

public static final int
public static final int
LLVMDIFlagNonTrivial

Debug info flags.

public static final int
LLVMDIFlagNoReturn

Debug info flags.

public static final int
LLVMDIFlagObjcClassComplete

Debug info flags.

public static final int
LLVMDIFlagObjectPointer

Debug info flags.

public static final int
LLVMDIFlagPrivate

Debug info flags.

public static final int
LLVMDIFlagProtected

Debug info flags.

public static final int
LLVMDIFlagPrototyped

Debug info flags.

public static final int
LLVMDIFlagPtrToMemberRep

Debug info flags.

public static final int
LLVMDIFlagPublic

Debug info flags.

public static final int
LLVMDIFlagReserved

Debug info flags.

public static final int
LLVMDIFlagReservedBit4

Debug info flags.

public static final int
LLVMDIFlagRValueReference

Debug info flags.

public static final int
LLVMDIFlagSingleInheritance

Debug info flags.

public static final int
LLVMDIFlagStaticMember

Debug info flags.

public static final int
LLVMDIFlagThunk

Debug info flags.

public static final int
public static final int
LLVMDIFlagTypePassByValue

Debug info flags.

public static final int
LLVMDIFlagVector

Debug info flags.

public static final int
LLVMDIFlagVirtual

Debug info flags.

public static final int
public static final int
LLVMDIFlagZero

Debug info flags.

public static final int
LLVMDIGenericSubrangeMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIGlobalVariableExpressionMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIGlobalVariableMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIImportedEntityMetadataKind

The kind of metadata nodes.

public static final int
LLVMDILabelMetadataKind

The kind of metadata nodes.

public static final int
LLVMDILexicalBlockFileMetadataKind

The kind of metadata nodes.

public static final int
LLVMDILexicalBlockMetadataKind

The kind of metadata nodes.

public static final int
LLVMDILocalVariableMetadataKind

The kind of metadata nodes.

public static final int
LLVMDILocationMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIMacroFileMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIMacroMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIModuleMetadataKind

The kind of metadata nodes.

public static final int
LLVMDINamespaceMetadataKind

The kind of metadata nodes.

public static final int
LLVMDIObjCPropertyMetadataKind

The kind of metadata nodes.

public static final int
public static final int
LLVMDIStringTypeMetadataKind

The kind of metadata nodes.

public static final int
LLVMDISubprogramMetadataKind

The kind of metadata nodes.

public static final int
LLVMDISubrangeMetadataKind

The kind of metadata nodes.

public static final int
LLVMDISubroutineTypeMetadataKind

The kind of metadata nodes.

public static final int
LLVMDITemplateTypeParameterMetadataKind

The kind of metadata nodes.

public static final int
LLVMDITemplateValueParameterMetadataKind

The kind of metadata nodes.

public static final int
LLVMDWARFEmissionFull

The amount of debug information to emit.

public static final int
LLVMDWARFEmissionLineTablesOnly

The amount of debug information to emit.

public static final int
LLVMDWARFEmissionNone

The amount of debug information to emit.

public static final int
LLVMDWARFMacinfoRecordTypeDefine

Describes the kind of macro declaration used for LLVMDIBuilderCreateMacro.

public static final int
LLVMDWARFMacinfoRecordTypeEndFile

Describes the kind of macro declaration used for LLVMDIBuilderCreateMacro.

public static final int
LLVMDWARFMacinfoRecordTypeMacro

Describes the kind of macro declaration used for LLVMDIBuilderCreateMacro.

public static final int
LLVMDWARFMacinfoRecordTypeStartFile

Describes the kind of macro declaration used for LLVMDIBuilderCreateMacro.

public static final int
LLVMDWARFMacinfoRecordTypeVendorExt

Describes the kind of macro declaration used for LLVMDIBuilderCreateMacro.

public static final int
LLVMDWARFSourceLanguageAda2005

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageAda2012

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageAda83

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageAda95

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageBLISS

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageBORLAND_Delphi

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC11

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC17

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC89

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC99

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC_plus_plus

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC_plus_plus_03

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC_plus_plus_11

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC_plus_plus_14

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC_plus_plus_17

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageC_plus_plus_20

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageCobol74

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageCobol85

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageCrystal

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageD

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageDylan

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageFortran03

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageFortran08

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageFortran18

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageFortran77

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageFortran90

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageFortran95

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageGo

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageGOOGLE_RenderScript

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageHaskell

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageJava

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageJulia

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageKotlin

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageMips_Assembler

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageModula2

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageModula3

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageObjC

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageObjC_plus_plus

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageOCaml

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageOpenCL

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguagePascal83

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguagePLI

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguagePython

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageRenderScript

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageRust

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageSwift

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageUPC

Source languages known by DWARF.

public static final int
LLVMDWARFSourceLanguageZig

Source languages known by DWARF.

public static final int
LLVMGenericDINodeMetadataKind

The kind of metadata nodes.

public static final int
LLVMLocalAsMetadataMetadataKind

The kind of metadata nodes.

public static final int
LLVMMDStringMetadataKind

The kind of metadata nodes.

public static final int
LLVMMDTupleMetadataKind

The kind of metadata nodes.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static long
LLVMCreateDIBuilder(long M)

Construct a builder for a module and collect unresolved nodes attached to the module in order to resolve cycles during a call to DIBuilderFinalize.

public static long
LLVMCreateDIBuilderDisallowUnresolved(long M)

Construct a builder for a module, and do not allow for unresolved nodes attached to the module.

public static int
LLVMDebugMetadataVersion()

The current debug metadata version number.

public static long
LLVMDIBuilderCreateArrayType(long
the DIBuilder
Builder
,
long
array size
Size
,
int
alignment
AlignInBits
,
long
element type
Ty
,
PointerBuffer
subscripts
Subscripts
)

Create debugging information entry for an array.

public static long
LLVMDIBuilderCreateArtificialType(long
the DIBuilder
Builder
,
long
the underlying type
Type
)

Create a uniqued DIType* clone with FlagArtificial set.

public static long
LLVMDIBuilderCreateAutoVariable(long
the DIBuilder
Builder
,
long
the local scope the variable is declared in
Scope
,
ByteBuffer
variable name
Name
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
metadata describing the type of the variable
Ty
,
boolean
if true, this descriptor will survive optimizations
AlwaysPreserve
,
int
flags
Flags
,
int
variable alignment
AlignInBits
)

Create a new descriptor for a local auto variable.

public static long
LLVMDIBuilderCreateAutoVariable(long
the DIBuilder
Builder
,
long
the local scope the variable is declared in
Scope
,
CharSequence
variable name
Name
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
metadata describing the type of the variable
Ty
,
boolean
if true, this descriptor will survive optimizations
AlwaysPreserve
,
int
flags
Flags
,
int
variable alignment
AlignInBits
)

Create a new descriptor for a local auto variable.

public static long
LLVMDIBuilderCreateBasicType(long
the DIBuilder
Builder
,
ByteBuffer
type name
Name
,
long
size of the type
SizeInBits
,
int
DWARF encoding code, e.g. LLVMDWARFTypeEncoding_float.
Encoding
,
int
flags to encode optional attribute like endianity
Flags
)

Create debugging information entry for a basic type.

public static long
LLVMDIBuilderCreateBasicType(long
the DIBuilder
Builder
,
CharSequence
type name
Name
,
long
size of the type
SizeInBits
,
int
DWARF encoding code, e.g. LLVMDWARFTypeEncoding_float.
Encoding
,
int
flags to encode optional attribute like endianity
Flags
)

Create debugging information entry for a basic type.

public static long
LLVMDIBuilderCreateBitFieldMemberType(long
the DIBuilder
Builder
,
long
member scope
Scope
,
ByteBuffer
member name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
long
member offset
OffsetInBits
,
long
member storage offset
StorageOffsetInBits
,
int
flags to encode member attribute
Flags
,
long
parent type
Type
)

Create debugging information entry for a bit field member.

public static long
LLVMDIBuilderCreateBitFieldMemberType(long
the DIBuilder
Builder
,
long
member scope
Scope
,
CharSequence
member name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
long
member offset
OffsetInBits
,
long
member storage offset
StorageOffsetInBits
,
int
flags to encode member attribute
Flags
,
long
parent type
Type
)

Create debugging information entry for a bit field member.

public static long
LLVMDIBuilderCreateClassType(long Builder, long
scope in which this class is defined
Scope
,
ByteBuffer
class name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
long
member offset
OffsetInBits
,
int
flags to encode member attribute, e.g. private.
Flags
,
long
debug info of the base class of this type
DerivedFrom
,
PointerBuffer
class members
Elements
,
long
debug info of the base class that contains vtable for this type. This is used in DW_AT_containing_type. See DWARF documentation for more info.
VTableHolder
,
long
template type parameters
TemplateParamsNode
,
ByteBuffer
a unique identifier for the type
UniqueIdentifier
)

Create debugging information entry for a class.

public static long
LLVMDIBuilderCreateClassType(long Builder, long
scope in which this class is defined
Scope
,
CharSequence
class name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
long
member offset
OffsetInBits
,
int
flags to encode member attribute, e.g. private.
Flags
,
long
debug info of the base class of this type
DerivedFrom
,
PointerBuffer
class members
Elements
,
long
debug info of the base class that contains vtable for this type. This is used in DW_AT_containing_type. See DWARF documentation for more info.
VTableHolder
,
long
template type parameters
TemplateParamsNode
,
CharSequence
a unique identifier for the type
UniqueIdentifier
)

Create debugging information entry for a class.

public static long
LLVMDIBuilderCreateCompileUnit(long Builder, int
source programming language, eg. LLVMDWARFSourceLanguageC99
Lang
,
long
file info
FileRef
,
ByteBuffer
identify the producer of debugging information and code. Usually this is a compiler version string.
Producer
,
boolean
a boolean flag which indicates whether optimization is enabled or not
isOptimized
,
ByteBuffer
this string lists command line options. This string is directly embedded in debug info output which may be used by a tool analyzing generated debugging information.
Flags
,
int
this indicates runtime version for languages like Objective-C
RuntimeVer
,
ByteBuffer
the name of the file that we'll split debug info out into
SplitName
,
int
the kind of debug information to generate
Kind
,
int
the DWOId if this is a split skeleton compile unit
DWOId
,
boolean
whether to emit inline debug info
SplitDebugInlining
,
boolean
whether to emit extra debug info for profile collection
DebugInfoForProfiling
,
ByteBuffer
the Clang system root (value of -isysroot)
SysRoot
,
ByteBuffer
the SDK. On Darwin, the last component of the sysroot.
SDK
)

A CompileUnit provides an anchor for all debugging information generated during this instance of compilation.

public static long
LLVMDIBuilderCreateCompileUnit(long Builder, int
source programming language, eg. LLVMDWARFSourceLanguageC99
Lang
,
long
file info
FileRef
,
CharSequence
identify the producer of debugging information and code. Usually this is a compiler version string.
Producer
,
boolean
a boolean flag which indicates whether optimization is enabled or not
isOptimized
,
CharSequence
this string lists command line options. This string is directly embedded in debug info output which may be used by a tool analyzing generated debugging information.
Flags
,
int
this indicates runtime version for languages like Objective-C
RuntimeVer
,
CharSequence
the name of the file that we'll split debug info out into
SplitName
,
int
the kind of debug information to generate
Kind
,
int
the DWOId if this is a split skeleton compile unit
DWOId
,
boolean
whether to emit inline debug info
SplitDebugInlining
,
boolean
whether to emit extra debug info for profile collection
DebugInfoForProfiling
,
CharSequence
the Clang system root (value of -isysroot)
SysRoot
,
CharSequence
the SDK. On Darwin, the last component of the sysroot.
SDK
)

A CompileUnit provides an anchor for all debugging information generated during this instance of compilation.

public static long
LLVMDIBuilderCreateConstantValueExpression(long
the DIBuilder
Builder
,
long
the constant value
Value
)

Create a new descriptor for the specified variable that does not have an address, but does have a constant value.

public static long
LLVMDIBuilderCreateDebugLocation(long Ctx, int
the line in the source file
Line
,
int
the column in the source file
Column
,
long
the scope in which the location resides
Scope
,
long
the scope where this location was inlined, if at all. (optional).
InlinedAt
)

Creates a new DebugLocation that describes a source location.

public static long
LLVMDIBuilderCreateEnumerationType(long
the DIBuilder
Builder
,
long
scope in which this enumeration is defined
Scope
,
ByteBuffer
enumeration name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
PointerBuffer
enumeration elements
Elements
,
long
underlying type of a C++11/ObjC fixed enum
ClassTy
)

Create debugging information entry for an enumeration.

public static long
LLVMDIBuilderCreateEnumerationType(long
the DIBuilder
Builder
,
long
scope in which this enumeration is defined
Scope
,
CharSequence
enumeration name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
PointerBuffer
enumeration elements
Elements
,
long
underlying type of a C++11/ObjC fixed enum
ClassTy
)

Create debugging information entry for an enumeration.

public static long
LLVMDIBuilderCreateEnumerator(long
the DIBuilder
Builder
,
ByteBuffer
enumerator name
Name
,
long
enumerator value
Value
,
boolean
true if the value is unsigned
IsUnsigned
)

Create debugging information entry for an enumerator.

public static long
LLVMDIBuilderCreateExpression(long
the DIBuilder
Builder
,
LongBuffer
an array of complex address operations
Addr
)

Create a new descriptor for the specified variable which has a complex address expression for its address.

public static long
LLVMDIBuilderCreateFile(long
the DIBuilder
Builder
,
ByteBuffer
file name
Filename
,
ByteBuffer
directory
Directory
)

Create a file descriptor to hold debugging information for a file.

public static long
LLVMDIBuilderCreateFile(long
the DIBuilder
Builder
,
CharSequence
file name
Filename
,
CharSequence
directory
Directory
)

Create a file descriptor to hold debugging information for a file.

public static long
LLVMDIBuilderCreateForwardDecl(long
the DIBuilder
Builder
,
int
a unique tag for this type
Tag
,
ByteBuffer
type name
Name
,
long
type scope
Scope
,
long
file where this type is defined
File
,
int
line number where this type is defined
Line
,
int
indicates runtime version for languages like Objective-C
RuntimeLang
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
ByteBuffer
a unique identifier for the type
UniqueIdentifier
)

Create a permanent forward-declared type.

public static long
LLVMDIBuilderCreateForwardDecl(long
the DIBuilder
Builder
,
int
a unique tag for this type
Tag
,
CharSequence
type name
Name
,
long
type scope
Scope
,
long
file where this type is defined
File
,
int
line number where this type is defined
Line
,
int
indicates runtime version for languages like Objective-C
RuntimeLang
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
CharSequence
a unique identifier for the type
UniqueIdentifier
)

Create a permanent forward-declared type.

public static long
LLVMDIBuilderCreateFunction(long
the DIBuilder
Builder
,
long
function scope
Scope
,
ByteBuffer
function name
Name
,
ByteBuffer
mangled function name
LinkageName
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
function type
Ty
,
boolean
true if this function is not externally visible
IsLocalToUnit
,
boolean
true if this is a function definition
IsDefinition
,
int
set to the beginning of the scope this starts
ScopeLine
,
int
e.g.: LLVMDIFlagLValueReference. These flags are used to emit dwarf attributes.
Flags
,
boolean
true if optimization is ON
IsOptimized
)

Create a new descriptor for the specified subprogram.

public static long
LLVMDIBuilderCreateFunction(long
the DIBuilder
Builder
,
long
function scope
Scope
,
CharSequence
function name
Name
,
CharSequence
mangled function name
LinkageName
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
function type
Ty
,
boolean
true if this function is not externally visible
IsLocalToUnit
,
boolean
true if this is a function definition
IsDefinition
,
int
set to the beginning of the scope this starts
ScopeLine
,
int
e.g.: LLVMDIFlagLValueReference. These flags are used to emit dwarf attributes.
Flags
,
boolean
true if optimization is ON
IsOptimized
)

Create a new descriptor for the specified subprogram.

public static long
LLVMDIBuilderCreateGlobalVariableExpression(long Builder, long
variable scope
Scope
,
ByteBuffer
name of the variable
Name
,
ByteBuffer
mangled name of the variable
Linkage
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
variable Type
Ty
,
boolean
boolean flag indicate whether this variable is externally visible or not
LocalToUnit
,
long
the location of the global relative to the attached GlobalVariable
Expr
,
long
reference to the corresponding declaration. variables.
Decl
,
int
variable alignment(or 0 if no alignment attr was specified)
AlignInBits
)

Create a new descriptor for the specified variable.

public static long
LLVMDIBuilderCreateGlobalVariableExpression(long Builder, long
variable scope
Scope
,
CharSequence
name of the variable
Name
,
CharSequence
mangled name of the variable
Linkage
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
variable Type
Ty
,
boolean
boolean flag indicate whether this variable is externally visible or not
LocalToUnit
,
long
the location of the global relative to the attached GlobalVariable
Expr
,
long
reference to the corresponding declaration. variables.
Decl
,
int
variable alignment(or 0 if no alignment attr was specified)
AlignInBits
)

Create a new descriptor for the specified variable.

public static long
LLVMDIBuilderCreateImportedDeclaration(long
the DIBuilder
Builder
,
long
the scope this module is imported into
Scope
,
long
the declaration (or definition) of a function, type, or variable
Decl
,
long
file where the declaration is located
File
,
int
line number of the declaration
Line
,
ByteBuffer
a name that uniquely identifies this imported declaration
Name
,
PointerBuffer
renamed elements
Elements
)

Create a descriptor for an imported function, type, or variable.

public static long
LLVMDIBuilderCreateImportedDeclaration(long
the DIBuilder
Builder
,
long
the scope this module is imported into
Scope
,
long
the declaration (or definition) of a function, type, or variable
Decl
,
long
file where the declaration is located
File
,
int
line number of the declaration
Line
,
CharSequence
a name that uniquely identifies this imported declaration
Name
,
PointerBuffer
renamed elements
Elements
)

Create a descriptor for an imported function, type, or variable.

public static long
LLVMDIBuilderCreateImportedModuleFromAlias(long
the DIBuilder
Builder
,
long
the scope this module is imported into
Scope
,
long
previous imported entity to alias
ImportedEntity
,
long
file where the declaration is located
File
,
int
line number of the declaration
Line
,
PointerBuffer
renamed elements
Elements
)

Create a descriptor for an imported module that aliases another imported entity descriptor.

public static long
LLVMDIBuilderCreateImportedModuleFromModule(long
the DIBuilder
Builder
,
long
the scope this module is imported into
Scope
,
long
the module being imported here
M
,
long
file where the declaration is located
File
,
int
line number of the declaration
Line
,
PointerBuffer
renamed elements
Elements
)

Create a descriptor for an imported module.

public static long
LLVMDIBuilderCreateImportedModuleFromNamespace(long
the DIBuilder
Builder
,
long
the scope this module is imported into
Scope
,
long NS, long
file where the declaration is located
File
,
int
line number of the declaration
Line
)

Create a descriptor for an imported namespace.

public static long
LLVMDIBuilderCreateInheritance(long
the DIBuilder
Builder
,
long
original type
Ty
,
long
base type. Ty is inherits from base.
BaseTy
,
long
base offset
BaseOffset
,
int
virtual base pointer offset
VBPtrOffset
,
int
flags to describe inheritance attribute, e.g. private
Flags
)

Create debugging information entry to establish inheritance relationship between two types.

public static long
LLVMDIBuilderCreateLexicalBlock(long
the DIBuilder
Builder
,
long
parent lexical block
Scope
,
long
source file
File
,
int
the line in the source file
Line
,
int
the column in the source file
Column
)

Create a descriptor for a lexical block with the specified parent context.

public static long
LLVMDIBuilderCreateLexicalBlockFile(long
the DIBuilder
Builder
,
long
lexical block
Scope
,
long
source file
File
,
int
DWARF path discriminator value
Discriminator
)

Create a descriptor for a lexical block with a new file attached.

public static long
LLVMDIBuilderCreateMacro(long
the DIBuilder
Builder
,
long
macro parent (could be NULL).
ParentMacroFile
,
int
source line number where the macro is defined
Line
,
int
DW_MACINFO_define or DW_MACINFO_undef
RecordType
,
ByteBuffer
macro name
Name
,
ByteBuffer
macro value
Value
)

Create debugging information entry for a macro.

public static long
LLVMDIBuilderCreateMacro(long
the DIBuilder
Builder
,
long
macro parent (could be NULL).
ParentMacroFile
,
int
source line number where the macro is defined
Line
,
int
DW_MACINFO_define or DW_MACINFO_undef
RecordType
,
CharSequence
macro name
Name
,
CharSequence
macro value
Value
)

Create debugging information entry for a macro.

public static long
LLVMDIBuilderCreateMemberPointerType(long
the DIBuilder
Builder
,
long
type pointed to by this pointer
PointeeType
,
long
type for which this pointer points to members of
ClassType
,
long
size
SizeInBits
,
int
alignment
AlignInBits
,
int
flags
Flags
)

Create debugging information entry for a pointer to member.

public static long
LLVMDIBuilderCreateMemberType(long
the DIBuilder
Builder
,
long
member scope
Scope
,
ByteBuffer
member name
Name
,
long
file where this member is defined
File
,
int
line number
LineNo
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
long
member offset
OffsetInBits
,
int
flags to encode member attribute, e.g. private
Flags
,
long
parent type
Ty
)

Create debugging information entry for a member.

public static long
LLVMDIBuilderCreateMemberType(long
the DIBuilder
Builder
,
long
member scope
Scope
,
CharSequence
member name
Name
,
long
file where this member is defined
File
,
int
line number
LineNo
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
long
member offset
OffsetInBits
,
int
flags to encode member attribute, e.g. private
Flags
,
long
parent type
Ty
)

Create debugging information entry for a member.

public static long
LLVMDIBuilderCreateModule(long
the DIBuilder
Builder
,
long
the parent scope containing this module declaration
ParentScope
,
ByteBuffer
module name
Name
,
ByteBuffer
a space-separated shell-quoted list of -D macro definitions as they would appear on a command line
ConfigMacros
,
ByteBuffer
the path to the module map file
IncludePath
,
ByteBuffer
the path to an API notes file for the module
APINotesFile
)

Creates a new descriptor for a module with the specified parent scope.

public static long
LLVMDIBuilderCreateModule(long
the DIBuilder
Builder
,
long
the parent scope containing this module declaration
ParentScope
,
CharSequence
module name
Name
,
CharSequence
a space-separated shell-quoted list of -D macro definitions as they would appear on a command line
ConfigMacros
,
CharSequence
the path to the module map file
IncludePath
,
CharSequence
the path to an API notes file for the module
APINotesFile
)

Creates a new descriptor for a module with the specified parent scope.

public static long
LLVMDIBuilderCreateNameSpace(long
the DIBuilder
Builder
,
long
the parent scope containing this module declaration
ParentScope
,
ByteBuffer
nameSpace name
Name
,
boolean
whether or not the namespace exports symbols, e.g. this is true of C++ inline namespaces.
ExportSymbols
)

Creates a new descriptor for a namespace with the specified parent scope.

public static long
LLVMDIBuilderCreateNameSpace(long
the DIBuilder
Builder
,
long
the parent scope containing this module declaration
ParentScope
,
CharSequence
nameSpace name
Name
,
boolean
whether or not the namespace exports symbols, e.g. this is true of C++ inline namespaces.
ExportSymbols
)

Creates a new descriptor for a namespace with the specified parent scope.

public static long
LLVMDIBuilderCreateNullPtrType(long
the DIBuilder
Builder
)

Create C++11 nullptr type.

public static long
LLVMDIBuilderCreateObjCIVar(long
the DIBuilder
Builder
,
ByteBuffer
member name
Name
,
long
file where this member is defined
File
,
int
line number
LineNo
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
long
member offset
OffsetInBits
,
int
flags to encode member attribute, e.g. private
Flags
,
long
parent type
Ty
,
long
property associated with this ivar
PropertyNode
)

Create debugging information entry for Objective-C instance variable.

public static long
LLVMDIBuilderCreateObjCIVar(long
the DIBuilder
Builder
,
CharSequence
member name
Name
,
long
file where this member is defined
File
,
int
line number
LineNo
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
long
member offset
OffsetInBits
,
int
flags to encode member attribute, e.g. private
Flags
,
long
parent type
Ty
,
long
property associated with this ivar
PropertyNode
)

Create debugging information entry for Objective-C instance variable.

public static long
LLVMDIBuilderCreateObjCProperty(long
the DIBuilder
Builder
,
ByteBuffer
property name
Name
,
long
file where this property is defined
File
,
int
line number
LineNo
,
ByteBuffer
name of the Objective C property getter selector
GetterName
,
ByteBuffer
name of the Objective C property setter selector
SetterName
,
int
objective C property attributes
PropertyAttributes
,
long
type
Ty
)

Create debugging information entry for Objective-C property.

public static long
LLVMDIBuilderCreateObjCProperty(long
the DIBuilder
Builder
,
CharSequence
property name
Name
,
long
file where this property is defined
File
,
int
line number
LineNo
,
CharSequence
name of the Objective C property getter selector
GetterName
,
CharSequence
name of the Objective C property setter selector
SetterName
,
int
objective C property attributes
PropertyAttributes
,
long
type
Ty
)

Create debugging information entry for Objective-C property.

public static long
LLVMDIBuilderCreateObjectPointerType(long
the DIBuilder
Builder
,
long
the underlying type to which this pointer points
Type
)

Create a uniqued DIType* clone with FlagObjectPointer and FlagArtificial set.

public static long
LLVMDIBuilderCreateParameterVariable(long
the DIBuilder
Builder
,
long
the local scope the variable is declared in
Scope
,
ByteBuffer
variable name
Name
,
int
unique argument number for this variable; starts at 1
ArgNo
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
metadata describing the type of the variable
Ty
,
boolean
if true, this descriptor will survive optimizations
AlwaysPreserve
,
int
flags
Flags
)

Create a new descriptor for a function parameter variable.

public static long
LLVMDIBuilderCreateParameterVariable(long
the DIBuilder
Builder
,
long
the local scope the variable is declared in
Scope
,
CharSequence
variable name
Name
,
int
unique argument number for this variable; starts at 1
ArgNo
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
metadata describing the type of the variable
Ty
,
boolean
if true, this descriptor will survive optimizations
AlwaysPreserve
,
int
flags
Flags
)

Create a new descriptor for a function parameter variable.

public static long
LLVMDIBuilderCreatePointerType(long
the DIBuilder
Builder
,
long
type pointed by this pointer
PointeeTy
,
long
size
SizeInBits
,
int
alignment. (optional, pass 0 to ignore)
AlignInBits
,
int
DWARF address space. (optional, pass 0 to ignore)
AddressSpace
,
ByteBuffer
pointer type name. (optional)
Name
)

Create debugging information entry for a pointer.

public static long
LLVMDIBuilderCreatePointerType(long
the DIBuilder
Builder
,
long
type pointed by this pointer
PointeeTy
,
long
size
SizeInBits
,
int
alignment. (optional, pass 0 to ignore)
AlignInBits
,
int
DWARF address space. (optional, pass 0 to ignore)
AddressSpace
,
CharSequence
pointer type name. (optional)
Name
)

Create debugging information entry for a pointer.

public static long
LLVMDIBuilderCreateQualifiedType(long
the DIBuilder
Builder
,
int
tag identifying type, e.g. LLVMDWARFTypeQualifier_volatile_type
Tag
,
long
base Type
Type
)

Create debugging information entry for a qualified type, e.g. 'const int'.

public static long
LLVMDIBuilderCreateReferenceType(long
the DIBuilder
Builder
,
int
tag identifying type,
Tag
,
long
base Type
Type
)

Create debugging information entry for a c++ style reference or rvalue reference type.

public static long
LLVMDIBuilderCreateReplaceableCompositeType(long
the DIBuilder
Builder
,
int
a unique tag for this type
Tag
,
ByteBuffer
type name
Name
,
long
type scope
Scope
,
long
file where this type is defined
File
,
int
line number where this type is defined
Line
,
int
indicates runtime version for languages like Objective-C
RuntimeLang
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
int
flags
Flags
,
ByteBuffer
a unique identifier for the type
UniqueIdentifier
)

Create a temporary forward-declared type.

public static long
LLVMDIBuilderCreateReplaceableCompositeType(long
the DIBuilder
Builder
,
int
a unique tag for this type
Tag
,
CharSequence
type name
Name
,
long
type scope
Scope
,
long
file where this type is defined
File
,
int
line number where this type is defined
Line
,
int
indicates runtime version for languages like Objective-C
RuntimeLang
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
int
flags
Flags
,
CharSequence
a unique identifier for the type
UniqueIdentifier
)

Create a temporary forward-declared type.

public static long
LLVMDIBuilderCreateStaticMemberType(long
the DIBuilder
Builder
,
long
member scope
Scope
,
ByteBuffer
member name
Name
,
long
file where this member is declared
File
,
int
line number
LineNumber
,
long
type of the static member
Type
,
int
flags to encode member attribute, e.g. private.
Flags
,
long
const initializer of the member
ConstantVal
,
int
member alignment
AlignInBits
)

Create debugging information entry for a C++ static data member.

public static long
LLVMDIBuilderCreateStaticMemberType(long
the DIBuilder
Builder
,
long
member scope
Scope
,
CharSequence
member name
Name
,
long
file where this member is declared
File
,
int
line number
LineNumber
,
long
type of the static member
Type
,
int
flags to encode member attribute, e.g. private.
Flags
,
long
const initializer of the member
ConstantVal
,
int
member alignment
AlignInBits
)

Create debugging information entry for a C++ static data member.

public static long
LLVMDIBuilderCreateStructType(long
the DIBuilder
Builder
,
long
scope in which this struct is defined
Scope
,
ByteBuffer
struct name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
int
flags to encode member attribute, e.g. private
Flags
,
long DerivedFrom, PointerBuffer
struct elements
Elements
,
int
optional parameter, Objective-C runtime version
RunTimeLang
,
long
the object containing the vtable for the struct
VTableHolder
,
ByteBuffer
a unique identifier for the struct
UniqueId
)

Create debugging information entry for a struct.

public static long
LLVMDIBuilderCreateStructType(long
the DIBuilder
Builder
,
long
scope in which this struct is defined
Scope
,
CharSequence
struct name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
int
flags to encode member attribute, e.g. private
Flags
,
long DerivedFrom, PointerBuffer
struct elements
Elements
,
int
optional parameter, Objective-C runtime version
RunTimeLang
,
long
the object containing the vtable for the struct
VTableHolder
,
CharSequence
a unique identifier for the struct
UniqueId
)

Create debugging information entry for a struct.

public static long
LLVMDIBuilderCreateSubroutineType(long
the DIBuilder
Builder
,
long
the file in which the subroutine resides
File
,
PointerBuffer
an array of subroutine parameter types. This includes return type at 0th index.
ParameterTypes
,
int
e.g.: LLVMDIFlagLValueReference. These flags are used to emit dwarf attributes.
Flags
)

Create subroutine type.

public static long
LLVMDIBuilderCreateTempGlobalVariableFwdDecl(long Builder, long
variable scope
Scope
,
ByteBuffer
name of the variable
Name
,
ByteBuffer
mangled name of the variable
Linkage
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
variable Type
Ty
,
boolean
boolean flag indicate whether this variable is externally visible or not
LocalToUnit
,
long
reference to the corresponding declaration
Decl
,
int
variable alignment(or 0 if no alignment attr was specified)
AlignInBits
)

Create a new descriptor for the specified global variable that is temporary and meant to be RAUWed.

public static long
LLVMDIBuilderCreateTempGlobalVariableFwdDecl(long Builder, long
variable scope
Scope
,
CharSequence
name of the variable
Name
,
CharSequence
mangled name of the variable
Linkage
,
long
file where this variable is defined
File
,
int
line number
LineNo
,
long
variable Type
Ty
,
boolean
boolean flag indicate whether this variable is externally visible or not
LocalToUnit
,
long
reference to the corresponding declaration
Decl
,
int
variable alignment(or 0 if no alignment attr was specified)
AlignInBits
)

Create a new descriptor for the specified global variable that is temporary and meant to be RAUWed.

public static long
LLVMDIBuilderCreateTempMacroFile(long
the DIBuilder
Builder
,
long
macro parent (could be NULL)
ParentMacroFile
,
int
source line number where the macro file is included
Line
,
long
file descriptor containing the name of the macro file
File
)

Create debugging information temporary entry for a macro file.

public static long
LLVMDIBuilderCreateTypedef(long
the DIBuilder
Builder
,
long
original type
Type
,
ByteBuffer
typedef name
Name
,
long
file where this type is defined
File
,
int
line number
LineNo
,
long
the surrounding context for the typedef
Scope
,
int AlignInBits)

Create debugging information entry for a typedef.

public static long
LLVMDIBuilderCreateTypedef(long
the DIBuilder
Builder
,
long
original type
Type
,
CharSequence
typedef name
Name
,
long
file where this type is defined
File
,
int
line number
LineNo
,
long
the surrounding context for the typedef
Scope
,
int AlignInBits)

Create debugging information entry for a typedef.

public static long
LLVMDIBuilderCreateUnionType(long
the DIBuilder
Builder
,
long
scope in which this union is defined
Scope
,
ByteBuffer
union name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
int
flags to encode member attribute, e.g. private
Flags
,
PointerBuffer
union elements
Elements
,
int
optional parameter, Objective-C runtime version
RunTimeLang
,
ByteBuffer
a unique identifier for the union
UniqueId
)

Create debugging information entry for a union.

public static long
LLVMDIBuilderCreateUnionType(long
the DIBuilder
Builder
,
long
scope in which this union is defined
Scope
,
CharSequence
union name
Name
,
long
file where this member is defined
File
,
int
line number
LineNumber
,
long
member size
SizeInBits
,
int
member alignment
AlignInBits
,
int
flags to encode member attribute, e.g. private
Flags
,
PointerBuffer
union elements
Elements
,
int
optional parameter, Objective-C runtime version
RunTimeLang
,
CharSequence
a unique identifier for the union
UniqueId
)

Create debugging information entry for a union.

public static long
LLVMDIBuilderCreateUnspecifiedType(long
the DIBuilder
Builder
,
ByteBuffer
the unspecified type's name
Name
)

Create a DWARF unspecified type.

public static long
LLVMDIBuilderCreateUnspecifiedType(long
the DIBuilder
Builder
,
CharSequence
the unspecified type's name
Name
)

Create a DWARF unspecified type.

public static long
LLVMDIBuilderCreateVectorType(long
the DIBuilder
Builder
,
long
vector size
Size
,
int
alignment
AlignInBits
,
long
element type
Ty
,
PointerBuffer
subscripts
Subscripts
)

Create debugging information entry for a vector type.

public static void
LLVMDIBuilderFinalize(long Builder)

Construct any deferred debug info descriptors.

public static void
LLVMDIBuilderFinalizeSubprogram(long Builder, long Subprogram)

Finalize a specific subprogram.

public static long
LLVMDIBuilderGetOrCreateArray(long
the DIBuilder
Builder
,
PointerBuffer
the DI Node elements
Data
)

Create an array of DI Nodes.

public static long
LLVMDIBuilderGetOrCreateSubrange(long
the DIBuilder
Builder
,
long
lower bound of the subrange, e.g. 0 for C, 1 for Fortran.
LowerBound
,
long
count of elements in the subrange
Count
)

Create a descriptor for a value range.

public static long
LLVMDIBuilderGetOrCreateTypeArray(long
the DIBuilder
Builder
,
PointerBuffer
the type elements
Data
)

Create a type array.

public static long
LLVMDIBuilderInsertDbgValueAtEnd(long
the DIBuilder
Builder
,
long
the value of the variable
Val
,
long
the variable's debug info descriptor
VarInfo
,
long
a complex location expression for the variable
Expr
,
long
debug info location
DebugLoc
,
long
basic block acting as a location for the new intrinsic
Block
)

Insert a new llvm.dbg.value intrinsic call at the end of the given basic block.

public static long
LLVMDIBuilderInsertDbgValueBefore(long
the DIBuilder
Builder
,
long
the value of the variable
Val
,
long
the variable's debug info descriptor
VarInfo
,
long
a complex location expression for the variable
Expr
,
long
debug info location
DebugLoc
,
long
instruction acting as a location for the new intrinsic
Instr
)

Insert a new llvm.dbg.value intrinsic call before the given instruction.

public static long
LLVMDIBuilderInsertDeclareAtEnd(long
the DIBuilder
Builder
,
long
the storage of the variable to declare
Storage
,
long
the variable's debug info descriptor
VarInfo
,
long
a complex location expression for the variable
Expr
,
long
debug info location
DebugLoc
,
long
basic block acting as a location for the new intrinsic
Block
)

Insert a new llvm.dbg.declare intrinsic call at the end of the given basic block.

public static long
LLVMDIBuilderInsertDeclareBefore(long
the DIBuilder
Builder
,
long
the storage of the variable to declare
Storage
,
long
the variable's debug info descriptor
VarInfo
,
long
a complex location expression for the variable
Expr
,
long
debug info location
DebugLoc
,
long
instruction acting as a location for the new intrinsic
Instr
)

Insert a new llvm.dbg.declare intrinsic call before the given instruction.

public static String
LLVMDIFileGetDirectory(long
the file object
File
)

Get the directory of a given file.

public static String
LLVMDIFileGetFilename(long
the file object
File
)

Get the name of a given file.

public static String
LLVMDIFileGetSource(long
the file object
File
)

Get the source of a given file.

public static long
LLVMDIGlobalVariableExpressionGetExpression(long
the global variable expression
GVE
)

Retrieves the DIExpression associated with this global variable expression.

public static long
LLVMDIGlobalVariableExpressionGetVariable(long
the global variable expression
GVE
)

Retrieves the DIVariable associated with this global variable expression.

public static int
LLVMDILocationGetColumn(long
the debug location
Location
)

Get the column number of this debug location.

public static long
LLVMDILocationGetInlinedAt(long
the debug location
Location
)

Get the "inline at" location associated with this debug location.

public static int
LLVMDILocationGetLine(long
the debug location
Location
)

Get the line number of this debug location.

public static long
LLVMDILocationGetScope(long
the debug location
Location
)

Get the local scope associated with this debug location.

public static long
LLVMDIScopeGetFile(long
the scope object
Scope
)

Get the metadata of the file associated with a given scope.

public static void
LLVMDisposeDIBuilder(long Builder)

Deallocates the DIBuilder and everything it owns.

public static void
LLVMDisposeTemporaryMDNode(long
the temporary metadata node
TempNode
)

Deallocate a temporary node.

public static int
LLVMDISubprogramGetLine(long
the subprogram object
Subprogram
)

Get the line associated with a given subprogram.

public static int
LLVMDITypeGetAlignInBits(long
the DIType
DType
)

Get the alignment of this DIType in bits.

public static int
LLVMDITypeGetFlags(long
the DIType
DType
)

Get the flags associated with this DIType.

public static int
LLVMDITypeGetLine(long
the DIType
DType
)

Get the source line where this DIType is declared.

public static String
LLVMDITypeGetName(long
the DIType
DType
)

Get the name of this DIType.

public static long
LLVMDITypeGetOffsetInBits(long
the DIType
DType
)

Get the offset of this DIType in bits.

public static long
LLVMDITypeGetSizeInBits(long
the DIType
DType
)

Get the size of this DIType in bits.

public static long
LLVMDIVariableGetFile(long
the variable object
Var
)

Get the metadata of the file associated with a given variable.

public static int
LLVMDIVariableGetLine(long
the DIVariable
Var
)

Get the source line where this DIVariable is declared.

public static long
LLVMDIVariableGetScope(long
the variable object
Var
)

Get the metadata of the scope associated with a given variable.

public static int
LLVMGetMetadataKind(long Metadata)

Obtain the enumerated type of a Metadata instance.

public static int
LLVMGetModuleDebugMetadataVersion(long Module)

The version of debug metadata that's present in the provided Module.

public static long
LLVMGetSubprogram(long Func)

Get the metadata of the subprogram attached to a function.

public static int
LLVMInstructionGetDebugLoc(long Inst)

Get the debug location for the given instruction.

public static void
LLVMInstructionSetDebugLoc(long Inst, long Loc)

Set the debug location for the given instruction.

public static void
LLVMMetadataReplaceAllUsesWith(long
the temporary metadata node
TempTargetMetadata
,
long
the replacement metadata node
Replacement
)

Replace all uses of temporary metadata.

public static void
LLVMSetSubprogram(long Func, long SP)

Set the subprogram attached to a function.

public static boolean
LLVMStripModuleDebugInfo(long Module)

Strip debug info in the module if it exists.

public static long
LLVMTemporaryMDNode(long
the context in which to construct the temporary node
Ctx
,
PointerBuffer
the metadata elements
Data
)

Create a new temporary MDNode.

public static long
nLLVMDIBuilderCreateArrayType(long Builder, long Size, int AlignInBits, long Ty, long Subscripts, int
number of subscripts
NumSubscripts
)

Unsafe version of: DIBuilderCreateArrayType

public static long
nLLVMDIBuilderCreateAutoVariable(long Builder, long Scope, long Name, long
length of variable name
NameLen
,
long File, int LineNo, long Ty, int AlwaysPreserve, int Flags, int AlignInBits)

Unsafe version of: DIBuilderCreateAutoVariable

public static long
nLLVMDIBuilderCreateBasicType(long Builder, long Name, long
length of type name
NameLen
,
long SizeInBits, int Encoding, int Flags)

Unsafe version of: DIBuilderCreateBasicType

public static long
nLLVMDIBuilderCreateBitFieldMemberType(long Builder, long Scope, long Name, long
length of member name
NameLen
,
long File, int LineNumber, long SizeInBits, long OffsetInBits, long StorageOffsetInBits, int Flags, long Type)

Unsafe version of: DIBuilderCreateBitFieldMemberType

public static long
nLLVMDIBuilderCreateClassType(long Builder, long Scope, long Name, long
the length of the C string passed to Name
NameLen
,
long File, int LineNumber, long SizeInBits, int AlignInBits, long OffsetInBits, int Flags, long DerivedFrom, long Elements, int
number of class elements
NumElements
,
long VTableHolder, long TemplateParamsNode, long UniqueIdentifier, long
length of the unique identifier
UniqueIdentifierLen
)

Unsafe version of: DIBuilderCreateClassType

public static long
nLLVMDIBuilderCreateCompileUnit(long Builder, int Lang, long FileRef, long Producer, long
the length of the C string passed to Producer
ProducerLen
,
int isOptimized, long Flags, long
the length of the C string passed to Flags
FlagsLen
,
int RuntimeVer, long SplitName, long
the length of the C string passed to SplitName
SplitNameLen
,
int Kind, int DWOId, int SplitDebugInlining, int DebugInfoForProfiling, long SysRoot, long
the length of the C string passed to SysRoot
SysRootLen
,
long SDK, long
the length of the C string passed to SDK
SDKLen
)

Unsafe version of: DIBuilderCreateCompileUnit

public static long
nLLVMDIBuilderCreateEnumerationType(long Builder, long Scope, long Name, long
length of enumeration name
NameLen
,
long File, int LineNumber, long SizeInBits, int AlignInBits, long Elements, int
number of enumeration elements
NumElements
,
long ClassTy)

Unsafe version of: DIBuilderCreateEnumerationType

public static long
nLLVMDIBuilderCreateEnumerator(long Builder, long Name, long
length of enumerator name
NameLen
,
long Value, int IsUnsigned)

Unsafe version of: DIBuilderCreateEnumerator

public static long
nLLVMDIBuilderCreateExpression(long Builder, long Addr, long
length of the address operation array
Length
)

Unsafe version of: DIBuilderCreateExpression

public static long
nLLVMDIBuilderCreateFile(long Builder, long Filename, long
the length of the C string passed to Filename
FilenameLen
,
long Directory, long
the length of the C string passed to Directory
DirectoryLen
)

Unsafe version of: DIBuilderCreateFile

public static long
nLLVMDIBuilderCreateForwardDecl(long Builder, int Tag, long Name, long
length of type name
NameLen
,
long Scope, long File, int Line, int RuntimeLang, long SizeInBits, int AlignInBits, long UniqueIdentifier, long
length of the unique identifier
UniqueIdentifierLen
)

Unsafe version of: DIBuilderCreateForwardDecl

public static long
nLLVMDIBuilderCreateFunction(long Builder, long Scope, long Name, long
length of enumeration name
NameLen
,
long LinkageName, long
length of linkage name
LinkageNameLen
,
long File, int LineNo, long Ty, int IsLocalToUnit, int IsDefinition, int ScopeLine, int Flags, int IsOptimized)

Unsafe version of: DIBuilderCreateFunction

public static long
nLLVMDIBuilderCreateGlobalVariableExpression(long Builder, long Scope, long Name, long
the length of the C string passed to Name
NameLen
,
long Linkage, long
the length of the C string passed to Linkage
LinkLen
,
long File, int LineNo, long Ty, int LocalToUnit, long Expr, long Decl, int AlignInBits)

Unsafe version of: DIBuilderCreateGlobalVariableExpression

public static long
nLLVMDIBuilderCreateImportedDeclaration(long Builder, long Scope, long Decl, long File, int Line, long Name, long
the length of the C string passed to Name
NameLen
,
long Elements, int
number of renamed elements
NumElements
)

Unsafe version of: DIBuilderCreateImportedDeclaration

public static long
nLLVMDIBuilderCreateImportedModuleFromAlias(long Builder, long Scope, long ImportedEntity, long File, int Line, long Elements, int
number of renamed elements
NumElements
)

Unsafe version of: DIBuilderCreateImportedModuleFromAlias

public static long
nLLVMDIBuilderCreateImportedModuleFromModule(long Builder, long Scope, long M, long File, int Line, long Elements, int
number of renamed elements
NumElements
)

Unsafe version of: DIBuilderCreateImportedModuleFromModule

public static long
nLLVMDIBuilderCreateMacro(long Builder, long ParentMacroFile, int Line, int RecordType, long Name, long
macro name length
NameLen
,
long Value, long
macro value length
ValueLen
)

Unsafe version of: DIBuilderCreateMacro

public static long
nLLVMDIBuilderCreateMemberType(long Builder, long Scope, long Name, long
length of member name
NameLen
,
long File, int LineNo, long SizeInBits, int AlignInBits, long OffsetInBits, int Flags, long Ty)

Unsafe version of: DIBuilderCreateMemberType

public static long
nLLVMDIBuilderCreateModule(long Builder, long ParentScope, long Name, long
the length of the C string passed to Name
NameLen
,
long ConfigMacros, long
the length of the C string passed to ConfigMacros
ConfigMacrosLen
,
long IncludePath, long
the length of the C string passed to IncludePath
IncludePathLen
,
long APINotesFile, long
he length of the C string passed to APINotestFile
APINotesFileLen
)

Unsafe version of: DIBuilderCreateModule

public static long
nLLVMDIBuilderCreateNameSpace(long Builder, long ParentScope, long Name, long
the length of the C string passed to Name
NameLen
,
int ExportSymbols)

Unsafe version of: DIBuilderCreateNameSpace

public static long
nLLVMDIBuilderCreateObjCIVar(long Builder, long Name, long
the length of the C string passed to Name
NameLen
,
long File, int LineNo, long SizeInBits, int AlignInBits, long OffsetInBits, int Flags, long Ty, long PropertyNode)

Unsafe version of: DIBuilderCreateObjCIVar

public static long
nLLVMDIBuilderCreateObjCProperty(long Builder, long Name, long
the length of the C string passed to Name
NameLen
,
long File, int LineNo, long GetterName, long
the length of the C string passed to GetterName
GetterNameLen
,
long SetterName, long
the length of the C string passed to SetterName
SetterNameLen
,
int PropertyAttributes, long Ty)

Unsafe version of: DIBuilderCreateObjCProperty

public static long
nLLVMDIBuilderCreateParameterVariable(long Builder, long Scope, long Name, long
length of variable name
NameLen
,
int ArgNo, long File, int LineNo, long Ty, int AlwaysPreserve, int Flags)

Unsafe version of: DIBuilderCreateParameterVariable

public static long
nLLVMDIBuilderCreatePointerType(long Builder, long PointeeTy, long SizeInBits, int AlignInBits, int AddressSpace, long Name, long
length of pointer type name. (optional)
NameLen
)

Unsafe version of: DIBuilderCreatePointerType

public static long
nLLVMDIBuilderCreateReplaceableCompositeType(long Builder, int Tag, long Name, long
length of type name
NameLen
,
long Scope, long File, int Line, int RuntimeLang, long SizeInBits, int AlignInBits, int Flags, long UniqueIdentifier, long
length of the unique identifier
UniqueIdentifierLen
)

Unsafe version of: DIBuilderCreateReplaceableCompositeType

public static long
nLLVMDIBuilderCreateStaticMemberType(long Builder, long Scope, long Name, long
length of member name
NameLen
,
long File, int LineNumber, long Type, int Flags, long ConstantVal, int AlignInBits)

Unsafe version of: DIBuilderCreateStaticMemberType

public static long
nLLVMDIBuilderCreateStructType(long Builder, long Scope, long Name, long
struct name length
NameLen
,
long File, int LineNumber, long SizeInBits, int AlignInBits, int Flags, long DerivedFrom, long Elements, int
number of struct elements
NumElements
,
int RunTimeLang, long VTableHolder, long UniqueId, long
length of the unique identifier for the struct
UniqueIdLen
)

Unsafe version of: DIBuilderCreateStructType

public static long
nLLVMDIBuilderCreateSubroutineType(long Builder, long File, long ParameterTypes, int
the number of parameter types in ParameterTypes
NumParameterTypes
,
int Flags)

Unsafe version of: DIBuilderCreateSubroutineType

public static long
nLLVMDIBuilderCreateTempGlobalVariableFwdDecl(long Builder, long Scope, long Name, long
the length of the C string passed to Name
NameLen
,
long Linkage, long
the length of the C string passed to Linkage
LnkLen
,
long File, int LineNo, long Ty, int LocalToUnit, long Decl, int AlignInBits)

Unsafe version of: DIBuilderCreateTempGlobalVariableFwdDecl

public static long
nLLVMDIBuilderCreateTypedef(long Builder, long Type, long Name, long NameLen, long File, int LineNo, long Scope, int AlignInBits)

Unsafe version of: DIBuilderCreateTypedef

public static long
nLLVMDIBuilderCreateUnionType(long Builder, long Scope, long Name, long
length of union name
NameLen
,
long File, int LineNumber, long SizeInBits, int AlignInBits, int Flags, long Elements, int
number of union elements
NumElements
,
int RunTimeLang, long UniqueId, long
length of unique identifier
UniqueIdLen
)

Unsafe version of: DIBuilderCreateUnionType

public static long
nLLVMDIBuilderCreateUnspecifiedType(long Builder, long Name, long
length of type name
NameLen
)

Unsafe version of: DIBuilderCreateUnspecifiedType

public static long
nLLVMDIBuilderCreateVectorType(long Builder, long Size, int AlignInBits, long Ty, long Subscripts, int
number of subscripts
NumSubscripts
)

Unsafe version of: DIBuilderCreateVectorType

public static long
nLLVMDIBuilderGetOrCreateArray(long Builder, long Data, long
number of DI Node elements
NumElements
)

Unsafe version of: DIBuilderGetOrCreateArray

public static long
nLLVMDIBuilderGetOrCreateTypeArray(long Builder, long Data, long
number of type elements
NumElements
)

Unsafe version of: DIBuilderGetOrCreateTypeArray

public static long
nLLVMDIFileGetDirectory(long File, long
the length of the returned string
Len
)

Unsafe version of: DIFileGetDirectory

public static long
nLLVMDIFileGetFilename(long File, long
the length of the returned string
Len
)

Unsafe version of: DIFileGetFilename

public static long
nLLVMDIFileGetSource(long File, long
the length of the returned string
Len
)

Unsafe version of: DIFileGetSource

public static long
nLLVMDITypeGetName(long DType, long
the length of the returned string
Length
)

Unsafe version of: DITypeGetName

public static long
nLLVMTemporaryMDNode(long Ctx, long Data, long
number of metadata elements
NumElements
)

Unsafe version of: TemporaryMDNode

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait