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:
@@ -96,9 +96,6 @@ CompilationUnit::SetAddressRanges(TargetAddressRangeList* ranges)
|
|||||||
target_addr_t
|
target_addr_t
|
||||||
CompilationUnit::AddressRangeBase() const
|
CompilationUnit::AddressRangeBase() const
|
||||||
{
|
{
|
||||||
if (fAddressRanges != NULL)
|
|
||||||
return fAddressRanges->LowestAddress();
|
|
||||||
|
|
||||||
return fUnitEntry != NULL ? fUnitEntry->LowPC() : 0;
|
return fUnitEntry != NULL ? fUnitEntry->LowPC() : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user