diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-05 03:49:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-05 03:49:26 +0000 |
commit | d2f5062c6d71e3fe76af489f6e2396cec51f90b3 (patch) | |
tree | 3a3455eaaea4230d22627fc868f1ffcc47bebcef /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | b93331f3be8f009b17c3114d5991476157264688 (diff) | |
download | bcm5719-llvm-d2f5062c6d71e3fe76af489f6e2396cec51f90b3.tar.gz bcm5719-llvm-d2f5062c6d71e3fe76af489f6e2396cec51f90b3.zip |
fix a regression on 2009-08-17-DebugInfo.m
llvm-svn: 100385
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index 3d86bf6fc91..490a8662fd2 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/llvm/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); |