The DWARF specs were a bit fuzzy on this one. Apparently only the low pc

attribute serves as base address for address range and location lists.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31648 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2009-07-20 01:07:00 +00:00
parent fad43e5283
commit 905860f5b4
1 changed files with 0 additions and 3 deletions

View File

@ -96,9 +96,6 @@ CompilationUnit::SetAddressRanges(TargetAddressRangeList* ranges)
target_addr_t
CompilationUnit::AddressRangeBase() const
{
if (fAddressRanges != NULL)
return fAddressRanges->LowestAddress();
return fUnitEntry != NULL ? fUnitEntry->LowPC() : 0;
}