Attempt to generate debug info for task parameters.
This commit is contained in:
@@ -606,6 +606,7 @@ lCopyInTaskParameter(int i, llvm::Value *structArgPtr, Declarator *decl,
|
|||||||
// memory
|
// memory
|
||||||
llvm::Value *ptrval = ctx->LoadInst(ptr, NULL, sym->name.c_str());
|
llvm::Value *ptrval = ctx->LoadInst(ptr, NULL, sym->name.c_str());
|
||||||
ctx->StoreInst(ptrval, sym->storagePtr);
|
ctx->StoreInst(ptrval, sym->storagePtr);
|
||||||
|
ctx->EmitFunctionParameterDebugInfo(sym);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user