Attempt to generate debug info for task parameters.

This commit is contained in:
Matt Pharr
2011-08-15 12:31:56 +01:00
parent 87cf05e0d2
commit 230a0fadea

View File

@@ -606,6 +606,7 @@ lCopyInTaskParameter(int i, llvm::Value *structArgPtr, Declarator *decl,
// memory
llvm::Value *ptrval = ctx->LoadInst(ptr, NULL, sym->name.c_str());
ctx->StoreInst(ptrval, sym->storagePtr);
ctx->EmitFunctionParameterDebugInfo(sym);
}