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:
parent
fad43e5283
commit
905860f5b4
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user