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
This commit is contained in:
Chris Lattner 2010-04-05 03:49:26 +00:00
parent fddb7667ca
commit 6342b416f3

View File

@ -1815,6 +1815,8 @@ void DwarfDebug::beginModule(Module *M) {
if (!HasDebugInfo) return;
shouldEmit = true;
// Tell MMI that we have debug info.
MMI->setDebugInfoAvailability(true);