From: Chris Lattner Date: Mon, 5 Apr 2010 03:49:26 +0000 (+0000) Subject: fix a regression on 2009-08-17-DebugInfo.m X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=6342b416f3086d3a4b9972106b77a3a8bc1d0d81;p=oota-llvm.git fix a regression on 2009-08-17-DebugInfo.m git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100385 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 3d86bf6fc91..490a8662fd2 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -1815,6 +1815,8 @@ void DwarfDebug::beginModule(Module *M) { if (!HasDebugInfo) return; + shouldEmit = true; + // Tell MMI that we have debug info. MMI->setDebugInfoAvailability(true);