Skip to content

Commit 9914514

Browse files
vchuravymaleadt
authored andcommitted
add missing enum for DebugEmissionKind
1 parent 0edc99e commit 9914514

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/libLLVM_extra.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,12 @@ function LLVMGetSourceLocation(V::LLVMValueRef, index, Name, Filename, Line, Col
161161
end
162162

163163
end
164+
165+
if libllvm_version >= v"8.0.0"
166+
@cenum(LLVMDebugEmissionKind,
167+
LLVMDebugEmissionKindNoDebug = 0,
168+
LLVMDebugEmissionKindFullDebug = 1,
169+
LLVMDebugEmissionKindLineTablesOnly = 2,
170+
LLVMDebugEmissionKindDebugDirectivesOnly = 3,
171+
)
172+
end

0 commit comments

Comments
 (0)