mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-09 10:31:14 +00:00
If doesSupportDebugInformation() is false then do not try to emit dwarf debug info.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86874 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
412a3b90d1
commit
3380cc5307
@ -1905,6 +1905,9 @@ void DwarfDebug::BeginModule(Module *M, MachineModuleInfo *mmi) {
|
|||||||
if (TimePassesIsEnabled)
|
if (TimePassesIsEnabled)
|
||||||
DebugTimer->startTimer();
|
DebugTimer->startTimer();
|
||||||
|
|
||||||
|
if (!MAI->doesSupportDebugInformation())
|
||||||
|
return;
|
||||||
|
|
||||||
DebugInfoFinder DbgFinder;
|
DebugInfoFinder DbgFinder;
|
||||||
DbgFinder.processModule(*M);
|
DbgFinder.processModule(*M);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user