Don't skip subprogram entries that have an abstract origin. Only do so, when
the function is actually inlined, which we already checked for anyway. Now the source location info should be retrieved correctly for all functions, even if if we get potential duplicates for non-inlined functions. This has to be dealt with differently, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31400 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -197,8 +197,7 @@ printf(" %ld compilation units\n", fFile->CountCompilationUnits());
|
||||
if (subprogramEntry->IsDeclaration()
|
||||
|| subprogramEntry->IsPrototyped()
|
||||
|| subprogramEntry->Inline() == DW_INL_inlined
|
||||
|| subprogramEntry->Inline() == DW_INL_declared_inlined
|
||||
|| subprogramEntry->AbstractOrigin() != NULL) {
|
||||
|| subprogramEntry->Inline() == DW_INL_declared_inlined) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user