Keep "has debug info" big in MachineModuleInfo to avoid circular dependency between AsmPrinter and CodeGen.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62191 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2009-01-13 23:02:17 +00:00
parent 35fe7344ae
commit e2051627b8
3 changed files with 9 additions and 2 deletions

View File

@ -3604,6 +3604,7 @@ public:
MMI = mmi;
shouldEmit = true;
MMI->setDebugInfoAvailability(true);
// Create DIEs for each of the externally visible global variables.
ConstructGlobalVariableDIEs();