From 230a0fadea3420c69f2addb21314d4bc0157c97a Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Mon, 15 Aug 2011 12:31:56 +0100 Subject: [PATCH] Attempt to generate debug info for task parameters. --- module.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/module.cpp b/module.cpp index 74e3fef2..d184ce6f 100644 --- a/module.cpp +++ b/module.cpp @@ -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); }