mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
[Go] Fix bindings/go/llvm/IRBindings.cpp
This commit is contained in:
parent
49d73cacf1
commit
a4c9fdeb0e
@ -56,9 +56,9 @@ void LLVMGoSetCurrentDebugLocation(LLVMBuilderRef Bref, unsigned Line,
|
|||||||
if (!Scope)
|
if (!Scope)
|
||||||
unwrap(Bref)->SetCurrentDebugLocation(DebugLoc());
|
unwrap(Bref)->SetCurrentDebugLocation(DebugLoc());
|
||||||
else
|
else
|
||||||
unwrap(Bref)->SetCurrentDebugLocation(
|
unwrap(Bref)->SetCurrentDebugLocation(DILocation::get(
|
||||||
DILocation::get(Scope->getContext(), Line, Col, unwrap<MDNode>(Scope),
|
unwrap<MDNode>(Scope)->getContext(), Line, Col, unwrap<MDNode>(Scope),
|
||||||
InlinedAt ? unwrap<MDNode>(InlinedAt) : nullptr));
|
InlinedAt ? unwrap<MDNode>(InlinedAt) : nullptr));
|
||||||
}
|
}
|
||||||
|
|
||||||
LLVMDebugLocMetadata LLVMGoGetCurrentDebugLocation(LLVMBuilderRef Bref) {
|
LLVMDebugLocMetadata LLVMGoGetCurrentDebugLocation(LLVMBuilderRef Bref) {
|
||||||
|
Loading…
Reference in New Issue
Block a user