From 6342b416f3086d3a4b9972106b77a3a8bc1d0d81 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 5 Apr 2010 03:49:26 +0000 Subject: [PATCH] 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 --- lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);