From 6e822459ede4600dd43b859512a2223320132500 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 28 Apr 2010 23:08:54 +0000 Subject: Replace r102368 with code that's less fragile. This creates DBG_VALUE instructions for function arguments early and insert them after instruction selection is done. llvm-svn: 102554 --- llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h') diff --git a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h index c855db8c7b7..53e1fccdf75 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h +++ b/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.h @@ -75,6 +75,8 @@ public: /// anywhere in the function. DenseMap StaticAllocaMap; + SmallVector ArgDbgValues; + #ifndef NDEBUG SmallSet CatchInfoLost; SmallSet CatchInfoFound; -- cgit v1.2.3