Changeset View
Changeset View
Standalone View
Standalone View
head/contrib/elftoolchain/libdwarf/dwarf_attrval_signed.3
Show All 18 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $Id: dwarf_attrval_signed.3 2980 2014-01-21 20:15:54Z kaiwang27 $ | .\" $Id: dwarf_attrval_signed.3 2980 2014-01-21 20:15:54Z kaiwang27 $ | ||||
.\" | .\" | ||||
.Dd January 18, 2014 | .Dd December 26, 2016 | ||||
.Os | .Os | ||||
.Dt DWARF_ATTRVAL_SIGNED 3 | .Dt DWARF_ATTRVAL_SIGNED 3 | ||||
.Sh NAME | .Sh NAME | ||||
.Nm dwarf_attrval_flag , | .Nm dwarf_attrval_flag , | ||||
.Nm dwarf_attrval_signed , | .Nm dwarf_attrval_signed , | ||||
.Nm dwarf_attrval_string , | .Nm dwarf_attrval_string , | ||||
.Nm dwarf_attrval_unsigned | .Nm dwarf_attrval_unsigned | ||||
.Nd retrieve the value of an attribute within a DWARF debugging information entry | .Nd retrieve the value of an attribute within a DWARF debugging information entry | ||||
▲ Show 20 Lines • Show All 127 Lines • ▼ Show 20 Lines | |||||
.Dv DW_FORM_ref2 , | .Dv DW_FORM_ref2 , | ||||
.Dv DW_FORM_ref4 , | .Dv DW_FORM_ref4 , | ||||
.Dv DW_FORM_ref8 , | .Dv DW_FORM_ref8 , | ||||
or | or | ||||
.Dv DW_FORM_ref_udata . | .Dv DW_FORM_ref_udata . | ||||
.Pp | .Pp | ||||
If the attribute named by argument | If the attribute named by argument | ||||
.Ar attr | .Ar attr | ||||
is not present in the debugging information entry referenced by | is | ||||
argument | .Dv DW_AT_type | ||||
and is not present in the debugging information entry referenced by argument | |||||
.Ar die , | .Ar die , | ||||
and if a | and if a | ||||
.Dv DW_AT_abstract_origin | .Dv DW_AT_abstract_origin | ||||
or | |||||
.Dv DW_AT_specification | |||||
attribute is present in the debugging information entry, | attribute is present in the debugging information entry, | ||||
function | function | ||||
.Fn dwarf_attrval_unsigned | .Fn dwarf_attrval_unsigned | ||||
will search for the named attribute in the debugging information entry | will search for the named attribute in the debugging information entry | ||||
referenced by the | referenced by the | ||||
.Dv DW_AT_abstract_origin | .Dv DW_AT_abstract_origin | ||||
or | |||||
.Dv DW_AT_specification | |||||
attribute. | attribute. | ||||
.Sh RETURN VALUES | .Sh RETURN VALUES | ||||
On success, these functions returns | On success, these functions returns | ||||
.Dv DW_DLV_OK . | .Dv DW_DLV_OK . | ||||
If the named attribute was not found in the specified debugging | If the named attribute was not found in the specified debugging | ||||
information entry descriptor these functions return | information entry descriptor these functions return | ||||
.Dv DW_DLV_NO_ENTRY | .Dv DW_DLV_NO_ENTRY | ||||
and set argument | and set argument | ||||
Show All 31 Lines |