Don't skip subprogram DIEs with prototyped attribute, which make loading functions from
plain C program actually works. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39436 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e7b9974180
commit
495e073b20
@ -278,9 +278,8 @@ DwarfImageDebugInfo::GetFunctions(BObjectList<FunctionDebugInfo>& functions)
|
||||
|
||||
DIESubprogram* subprogramEntry = static_cast<DIESubprogram*>(entry);
|
||||
|
||||
// ignore declarations, prototypes, and inlined functions
|
||||
// ignore declarations and inlined functions
|
||||
if (subprogramEntry->IsDeclaration()
|
||||
|| subprogramEntry->IsPrototyped()
|
||||
|| subprogramEntry->Inline() == DW_INL_inlined
|
||||
|| subprogramEntry->Inline() == DW_INL_declared_inlined) {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user