From e0a94bfe9f36f5dc79a18e33fd03963fa4024158 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Fri, 14 May 2010 21:01:35 +0000 Subject: Add support to preserve type info for the variables that are removed by the optimizer. llvm-svn: 103798 --- llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h') diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 56282a38148..48a52623c39 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -545,7 +545,7 @@ private: bool extractScopeInformation(); /// collectVariableInfo - Populate DbgScope entries with variables' info. - void collectVariableInfo(); + void collectVariableInfo(const MachineFunction *); public: //===--------------------------------------------------------------------===// -- cgit v1.2.3