mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-23 14:25:07 +00:00
Debug info: Add dwarf backend support for DIModule.
rdar://problem/20965932 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241034 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -638,6 +638,8 @@ DIE *DwarfCompileUnit::constructImportedEntityDIE(
|
||||
auto *Entity = resolve(Module->getEntity());
|
||||
if (auto *NS = dyn_cast<DINamespace>(Entity))
|
||||
EntityDie = getOrCreateNameSpace(NS);
|
||||
else if (auto *M = dyn_cast<DIModule>(Entity))
|
||||
EntityDie = getOrCreateModule(M);
|
||||
else if (auto *SP = dyn_cast<DISubprogram>(Entity))
|
||||
EntityDie = getOrCreateSubprogramDIE(SP);
|
||||
else if (auto *T = dyn_cast<DIType>(Entity))
|
||||
|
Reference in New Issue
Block a user