mirror of
https://git.rtems.org/rtems-tools/
synced 2025-06-06 13:32:58 +08:00
rld-dwarf: Add function::has_entry_pc
This commit is contained in:
parent
64ad86c10b
commit
85eb59e217
@ -884,6 +884,12 @@ namespace rld
|
||||
return addr;
|
||||
}
|
||||
|
||||
bool
|
||||
function::has_entry_pc () const
|
||||
{
|
||||
return has_entry_pc_;
|
||||
}
|
||||
|
||||
bool
|
||||
function::has_machine_code () const
|
||||
{
|
||||
@ -1702,7 +1708,7 @@ namespace rld
|
||||
if (daddr.is_an_end_sequence ())
|
||||
seq_base = 0;
|
||||
address addr (daddr, loc);
|
||||
if (loc >= pc_low_ && loc < pc_high_)
|
||||
if (loc >= pc_low_ && loc <= pc_high_)
|
||||
{
|
||||
pc = loc;
|
||||
addr_lines_.push_back (addr);
|
||||
|
@ -376,6 +376,11 @@ namespace rld
|
||||
*/
|
||||
dwarf_unsigned pc_high () const;
|
||||
|
||||
/**
|
||||
* Does the function have an entry PC?
|
||||
*/
|
||||
bool has_entry_pc () const;
|
||||
|
||||
/**
|
||||
* Does the function have machine code in the image?
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user