mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
If doesSupportDebugInformation() is false then do not try to emit dwarf debug info.
llvm-svn: 86874
This commit is contained in:
parent
05a9a66c9e
commit
e37dd6ef40
@ -1905,6 +1905,9 @@ void DwarfDebug::BeginModule(Module *M, MachineModuleInfo *mmi) {
|
||||
if (TimePassesIsEnabled)
|
||||
DebugTimer->startTimer();
|
||||
|
||||
if (!MAI->doesSupportDebugInformation())
|
||||
return;
|
||||
|
||||
DebugInfoFinder DbgFinder;
|
||||
DbgFinder.processModule(*M);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user