History log of /external/elfutils/tests/varlocs.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b85f80ab687044ece15d51de8a5e7f63bc1d3fa9 04-Sep-2015 Chih-Hung Hsieh <chh@google.com> tests: Init local variable enctype before use in print_base_type varlocs.c.

clang compiler static analysis failed.

Signed-off-by: Chih-Hung Hsieh <chh@google.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/varlocs.c
7f617347794f7d57f69d08f38c00f3f6ad221a56 18-Mar-2015 Petr Machata <pmachata@redhat.com> Publish known-dwarf.h

- Make the macro names properly scoped (DWARF_ALL_KNOWN_* and
DWARF_ONE_KNOWN_*).

- Simplify the calling convention: don't keep track of the comment
associated with the enumerator, always use the non-_DESC
DWARF_ONE_KNOWN_* callback.

- Install known-dwarf.h alongside libdw.h and others.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/tests/varlocs.c
3951f2ec0aaca021c77a2c7a464dcf43433261c3 09-Dec-2013 Mark Wielaard <mjw@redhat.com> libdw: Handle empty location expression for (indirect) DIE locations.

When dwarf_getlocation_implicit_pointer and dwarf_getlocation_attr
refer to a DIE that doesn't contain a DW_AT_location then don't generate
an error, but return an empty location expression to signal the actual
value pointed to is not available. This isn't invalid DWARF. Also make
sure that __libdw_intern_expression handles empty location expressions.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/varlocs.c
6e6e54e12a30b70929d9465fae3dc601684a8794 31-Aug-2013 Mark Wielaard <mjw@redhat.com> tests: Add new varlocs test for dwarf_getlocation* functions.

This tests the new dwarf_getlocations, dwarf_getlocation_attr and
dwarf_getlocation_die functions. But it is also an example of how
to handle location expressions and which libdw functions can be
used to access all information required to interpret each DW_OP.

It might make sense to extend this test/example into a program
that verifies various properties of DWARF expressions.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/tests/varlocs.c