History log of /external/elfutils/libdw/dwarf_getlocation.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1ccdfb683ad6c7e59793136c3a657ddf131cafd1 22-Sep-2015 Mark Wielaard <mjw@redhat.com> Remove old-style function definitions.

We already require -std=gnu99 and old-style function definitions might
hide some compiler warnings.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
f6b93914662566bbbb974cc85ef686a9f6b41a42 04-Sep-2015 Chih-Hung Hsieh <chh@google.com> libdw: Add const declaration to getlocations_addr locs.

And change K&R C function definition to ansi, which prevented GCC from
seeing that callers passed in const arguments.

Signed-off-by: Chih-Hung Hsieh <chh@google.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
720f83a563fd3d550cdc7a14be9fb13269022b91 19-May-2015 Mark Wielaard <mjw@redhat.com> libdw: Fix possibly unbounded stack usage in __libdw_intern_expression.

Create a stack allocated array to hold locs. Allocate locs bigger than
the array with malloc and free them when done.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
5316e412a4931d99ac5611e5f89ef187d4e9e335 03-Jan-2015 Mark Wielaard <mjw@redhat.com> libdw: Handle NULL dbg for call_ref, GNU_implicit_pointer and addr DW_OPs.

afl-fuzz pointed out that __libdw_intern_expression didn't handle CFI
containing DW_OP_call_ref, DW_OP_implicit_pointer or DW_OP_addr. Because
in that case the Dwarf dbg is NULL. Both DW_OP_call_ref and
DW_OP_implicit_pointer cannot be used in CFI. That is just an error.
But DW_OP_addr can be. Without a Dwarf dbg we'll need to read the address
argument directly. Don't use __libdw_read_address_inc which might do a
relocation of the value read. But in practice the relocation hook isn't
implemented anyway.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
7a053473c7bedd22e3db39c444a4cd8f97eace25 14-Dec-2014 Mark Wielaard <mjw@redhat.com> libdw: Add get_uleb128 and get_sleb128 bounds checking.

Both get_uleb128 and get_sleb128 now take an end pointer to prevent
reading too much data. Adjust all callers to provide the end pointer.

There are still two exceptions. "Raw" dwarf_getabbrevattr and
read_encoded_valued don't have a end pointer associated yet.
They will have to be provided in the future.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
9202665816763fad8524dd78a664dbcaa157b8d4 12-Dec-2014 Mark Wielaard <mjw@redhat.com> libdw: Make sure all attributes come with a (fake) CU for bound checks.

All attributes now have a reference to a (fake) CU that has startp and
endp set to the data section where the form data comes from. Use that
for bounds checking in __libdw_form_val_len and dwarf_formblock to make
sure data read doesn't overflow any data section. Remove libdwP.h cu_data
and use cu startp and endp directly where appropriate.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
476feb1c7db2c6dfa217f8a18d2eb1af2789cbb0 10-Sep-2014 Petr Machata <pmachata@redhat.com> Accept DW_AT_GNU_call_site_* as attributes that hold location expressions

- These are extension attributes that correspond in behavior to
attributes described in this proposal:
http://www.dwarfstd.org/ShowIssue.php?issue=100909.2

- N.B.: DW_AT_call_site_data_location doesn't have a DW_AT_GNU_*
counterpart.

Signed-off-by: Petr Machata <pmachata@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
4e2787c2674bdb152e275edb3ed4d9939c8f62d7 10-Dec-2013 Josh Stone <jistone@redhat.com> libdw: Simplify and inline get_uleb128 and get_sleb128

This removes the IS_LIBDW distinction so LEB128 operations are now
always inlined, and the implementations are simplified, more direct.

Signed-off-by: Josh Stone <jistone@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.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/libdw/dwarf_getlocation.c
74f9b7337562c06a93722ad757d258db8f082663 30-Sep-2013 Mark Wielaard <mjw@redhat.com> libdw: Fix compiler warnings on 32-bit.

Don't cast directly to/from Dwarf_Word (uint64_t) to/from pointers,
but use uintptr_t as intermediary to prevent cast to pointer from
integer of different size warnings.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
b2535b6a6be7717cdd41834d76e5cb48cb446b83 30-Aug-2013 Mark Wielaard <mjw@redhat.com> libdw: Add new functions dwarf_getlocation_attr and dwarf_getlocation_die.

Some location expression operations have a DIE associated with them.
Examples are some of the new GNU typed DWARF extensions, DW_OP_GNU_convert,
DW_OP_GNU_reinterpret, DW_OP_GNU_const_type, DW_OP_GNU_regval_type and
DW_OP_GNU_deref_type. Others have (block) values associated with them,
like DW_OP_GNU_entry_value and DW_OP_GNU_const_type.

It is not always easy to access these values. The DIE offset is given in
various formats either as global offset or CU relative offset. The (block)
value might be constant or a location description. And the block might be
encoded with a uleb128 or ubyte length. The new functions help to easily
get at the DIE or attribute value.

In theory dwarf_getlocation_attr could be used for all cases, since
besides returning DW_AT_const_value or DW_AT_location, it could also
return an attribute referencing a DIE. But at least one operation,
DW_OP_GNU_const_type, has both a (type) DIE and a constant (block)
value associated with it. And directly getting the DIE when needed
is easier than first having to retrieve a (synthesized) attribute
and then getting the actual (type) DIE.

Expression operations that reference an actual DIE for the
DW_AT_location or DW_AT_const_value, like DW_OP_call2, DW_OP_call4,
DW_OP_callref and DW_OP_GNU_implicit_pointer can be used with both
dwarf_getlocation_attr and dwarf_getlocation_die.

DW_OP_implicit_value and DW_OP_GNU_implicit_pointer already had
their own special accessors (dwarf_getlocation_implicit_value
and dwarf_getlocation_implicit_pointer), but it seemed consistent
to include them in the new more generic accessors too.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
66eaae9bcc1608efad65e3aa0204afbb3cb1a83d 23-Aug-2013 Mark Wielaard <mjw@redhat.com> libdw: Add new function dwarf_getlocations.

Using dwarf_getlocation it is possible to get single location
descriptions and with dwarf_getlocation_addr it is possible to
get a location list covering a specific address. But sometimes
it is more convenient to get all ranges covered by a location
list. For example when a specific address isn't covered and
you want to find alternative addresses where a location
description is defined.

dwarf_getlocations is modelled after dwarf_ranges. It enumerates
the location ranges and descriptions covered by the given
attribute. In the first call OFFSET should be zero and *BASEP
need not be initialized. Returns -1 for errors, zero when
there are no more locations to report, or a nonzero OFFSET
value to pass to the next call. Each subsequent call must
preserve *BASEP from the prior call. Successful calls fill in
*STARTP and *ENDP with a contiguous address range and *EXPR with
a pointer to an array of operations with length *EXPRLEN. If
the attribute describes a single location description and not a
location list the first call (with OFFSET zero) will return the
location description in *EXPR with *STARTP set to zero and *ENDP
set to minus one.

ptrdiff_t dwarf_getlocations (Dwarf_Attribute *attr, ptrdiff_t offset,
Dwarf_Addr *basep, Dwarf_Addr *startp,
Dwarf_Addr *endp, Dwarf_Op **expr,
size_t *exprlen);

Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
b5c0b037203eea0dc41f93900330522fe821eca9 09-Oct-2012 Petr Machata <pmachata@redhat.com> Handle GNU extension opcodes in dwarf_getlocation
/external/elfutils/libdw/dwarf_getlocation.c
96a9fc6ae246e2e03f9d82f136960691fa4a88fe 08-Oct-2012 Jan Kratochvil <jan.kratochvil@redhat.com> dwarf_getlocation.c (__libdw_intern_expression) <cfap>: Make new loclist
element DW_OP_call_frame_cfa before decoding the opcodes. Remove the later
DW_OP_call_frame_cfa push to RESULT.

Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
de2ed97f33139af5c7a0811e4ec66fc896a13cf2 05-Jun-2012 Mark Wielaard <mjw@redhat.com> Update name, license and contributor policy.

* Change name from "Red Hat elfutils" to "elfutils".
* Update license of standalone tools and test from GPLv2 to GPLv3+.
* Change license of libraries from GPLv2+exception to GPLv2/LGPLv3+.
* Add Developer Certificate of Origin based contributor policy.

top-level:

- COPYING: Upgraded from GPLv2 to GPLv3.
- CONTRIBUTING, COPYING-GPLv2, COPYING-LGPLv3: New files.
- NEWS: Added note about new contribution and license policy.
- Makefile.am: Updated to GPLv3, added new files to EXTRA_DIST.
- configure.ac: Update to GPLv3, changed AC_INIT name to 'elfutils'.

backends, lib, libasm, libcpu, libdw, libdwfl, libebl, libelf:

- All files updated to GPLv2/LGPLv3+. Except some very small files
(<5 lines) which didn't have any headers at all before, the linker
.maps files and the libcpu/defs files which only contain data and
libelf/elf.h which comes from glibc and is under LGPLv2+.

config:

- elfutils.spec.in: Add new License: headers and new %doc files.
- Update all license headers to GPLv2/LGPLv3+ for files used by libs.

src, tests:

- All files updated to GPLv3+. Except for the test bz2 data files, the
linker maps and script files and some very small files (<5 lines)
that don't have any headers.

Signed-off-by: Richard Fontana <rfontana@redhat.com>
Signed-off-by: Mark Wielaard <mjw@redhat.com>
/external/elfutils/libdw/dwarf_getlocation.c
932585d2385c9d4e5686e4ddc9ba30c68172d7f3 08-May-2010 Roland McGrath <roland@redhat.com> Handle DW_OP_GNU_implicit_pointer.
/external/elfutils/libdw/dwarf_getlocation.c
c16966a0043dc173fcaab5d3f8b754b4e9c9ceb7 23-Jun-2010 Roland McGrath <roland@redhat.com> Fix check_constant_offset braino.
/external/elfutils/libdw/dwarf_getlocation.c
3e0f7d1d1b817040cef82f41879f471ab59b663e 16-Jun-2010 Roland McGrath <roland@redhat.com> Handle reading .debug_types section.
/external/elfutils/libdw/dwarf_getlocation.c
6fb3451de3ba29b628be6e30a01ef104156d4733 29-May-2010 Ulrich Drepper <drepper@redhat.com> dwarf_getlocation crash on NULL attribute.

A recent change added code in front of the attr_ok check. This
breaks existing code that assumes it can pass NULL to the ATTR
parameter. Move the attr_ok check back to the front.
/external/elfutils/libdw/dwarf_getlocation.c
688f7fcdb395cefef6a098b5ac9ddd167bb5fc3d 08-May-2010 Roland McGrath <roland@redhat.com> Fix DW_OP_call_ref operand handling.
/external/elfutils/libdw/dwarf_getlocation.c
0ab97839da3c382ab8799ebdbf5eb0a79bf20bdc 26-Apr-2010 Roland McGrath <roland@redhat.com> Translate DW_CFA_expression/DW_CFA_val_expression properly to imply pushing CFA before given expression.
/external/elfutils/libdw/dwarf_getlocation.c
888381b9ace5251b9feaad14f9bfa8c9d85cb1fd 22-Nov-2009 Roland McGrath <roland@redhat.com> Fix dwarf_getlocation braino in constant-form case handling.
/external/elfutils/libdw/dwarf_getlocation.c
7e0aecdad525d8b290e2b9b999f6960a42bee33d 18-Sep-2009 Roland McGrath <roland@redhat.com> Small tweak for dwarf_getlocation_implicit_value; NEWS item for it.
/external/elfutils/libdw/dwarf_getlocation.c
f0371041995308d197447019eb2ac9285c96477b 10-Sep-2009 Roland McGrath <roland@redhat.com> DW_OP_implicit_value support
/external/elfutils/libdw/dwarf_getlocation.c
af80014e49796185298dfb261ddf1e51d98f25c0 22-Jul-2009 Roland McGrath <roland@redhat.com> Rejigger calling conventions for dwarf_frame_{cfa,register}.
/external/elfutils/libdw/dwarf_getlocation.c
d1083043cf63551270f31aa83233d55286a89d65 21-Jul-2009 Roland McGrath <roland@redhat.com> Fix last commit, was made too early in the morning.
/external/elfutils/libdw/dwarf_getlocation.c
96349ffaa68a1b4eec2fd1c9eb97a3d0b4e95a1e 20-Jul-2009 Roland McGrath <roland@redhat.com> Handle DW_OP_stack_value
/external/elfutils/libdw/dwarf_getlocation.c
7dd9464d06c7826952be3c4fa7fc963dd563c025 15-Jul-2009 Roland McGrath <roland@redhat.com> dwarf_getlocation.c: Grok DW_OP_form_tls_address, DW_OP_GNU_push_tls_address, and DW_OP_bit_piece.
/external/elfutils/libdw/dwarf_getlocation.c
8089343cc61743db7bf0fd75c21132cbab5c01fd 13-Jul-2009 Roland McGrath <roland@redhat.com> dwarf_getlocation.c: Grok DW_OP_call_frame_cfa.
/external/elfutils/libdw/dwarf_getlocation.c
3c84db3b4b610bf636c4363abb6d3dac5ae020f9 25-Jun-2009 Roland McGrath <roland@redhat.com> CFI support: lookup by PC and translate into DWARF location per register
/external/elfutils/libdw/dwarf_getlocation.c
cfdd86ed929c137eaca5dd49cd266bb739c6cdbd 08-Jul-2009 Roland McGrath <roland@redhat.com> Handle DW_AT_data_member_location of class constant magically in dwarf_getlocation{,_addr}.
/external/elfutils/libdw/dwarf_getlocation.c
05c4e04640d173a4d1ce6e2f25a24060c21a67ab 18-Jun-2009 Roland McGrath <roland@redhat.com> Do some constification to avoid dubious casts.
/external/elfutils/libdw/dwarf_getlocation.c
99d2372b25d1231d786b70278478c7a112f2b27c 15-Jun-2009 Ulrich Drepper <drepper@redhat.com> Squashed commit of the following:

commit 77abb31cb8d55980ef92260917a7ecdd228b1a44
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Jun 8 15:46:16 2009 +0200

Fix a bug in offset checking

commit b794eac4f8d3e08101b5d2924523b1259bbc1b17
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Jun 3 16:00:01 2009 +0200

Cosmetic, get rid of defining several variables per line

commit a23938fe35d515a3d75a51f6204771f3cf6c9ec4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Jun 3 15:50:03 2009 +0200

Restructure the code to decrease the binary size

commit 7c301e3d4e8584dfb3174855fb6af3d5791dfeed
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Jun 1 19:43:28 2009 +0200

Shuffle a couple pieces of code around to make the code smaller

commit 6325323482c2a3e17409d32c7feec9461be26614
Merge: 83ac53d... e94b1b2...
Author: Petr Machata <pmachata@redhat.com>
Date: Fri May 22 08:49:07 2009 +0200

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

Conflicts:
libdw/ChangeLog

commit 83ac53db400945c074e77ec9904efe550903a0e2
Author: Petr Machata <pmachata@redhat.com>
Date: Fri May 22 08:40:25 2009 +0200

Call reloc hook with the original address, not incremented

commit f1996388745566abc1ca1c1700b3b7eded208575
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 16:53:03 2009 +0200

Rewrite boundary checking logic so that it's immune to arithmetic overflow

* ... also get rid of some code redundancy.

commit 0c1df732822d83548edd0d005f3450281ed1701b
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 16:25:09 2009 +0200

__libdw_read_offset* take extra argument for header size checks

* also presence of debug data and buffer is checked in __libdw_in_section

commit 6fb192e360f842cacb34a90c03cd0524cccc3dec
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 15:51:20 2009 +0200

Check for presence of data before loading the offset

commit a2e7612b165d83dd241225f87075fa4f58d18781
Author: Petr Machata <pmachata@redhat.com>
Date: Wed May 6 15:04:16 2009 +0200

Cosmetic changes

commit 8b1aad2c2f6c8dc02b3e704e4f386c1827e385cb
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 15:34:13 2009 +0200

Improve reader hook functions a bit

* ... so that they are closer match to what's need on call sites

commit 3854b7fbab2fe331711365f94a295af82164d0d2
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 14:33:50 2009 +0200

Fixes in use of reader hooks in __libdw_formptr and dwarf_formudata

* and a bit more

commit 335075596b6acef6e59919155e2b087e690a572d
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 14:32:39 2009 +0200

Rename __libdw_read_udata_addr to __libdw_formptr

commit 8273a2adaf8cb2ee203926af2849e4f96f8a6eaf
Author: Petr Machata <pmachata@redhat.com>
Date: Tue May 5 02:53:40 2009 +0200

Introduce __libdw_read_udata_address

* the use in dwarf_ranges is iffy, there's a functionality mismatch.
Need to find some better way

commit 1c897f4abde1530038d332f4fc03a596a24f6aaf
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 18:09:13 2009 +0200

ChangeLog entries for previous commit

commit 90d7c39454468b91c0fd6514a4e8d821222d6adb
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 18:07:54 2009 +0200

Fix bugs, introduce __libdw_read_begin_end_pair_inc

commit 9b3923f5b69a3e56590769435c4693f057acdc1f
Merge: 6200ba6... 589b3d3...
Author: Petr Machata <pmachata@redhat.com>
Date: Mon May 4 12:22:21 2009 +0200

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

commit 6200ba62aa9ea3cb9318f73a27181907a528dbe4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Apr 29 15:31:28 2009 +0200

dwarf_getlocation_addr uses read hooks

commit ecbb8cdd8b500e37dc34fc246b912f704fe31ca4
Author: Petr Machata <pmachata@redhat.com>
Date: Wed Apr 29 15:16:09 2009 +0200

dwarf_ranges and dwarf_formref use read hooks

commit cb8f67b29a896c2660c10aa1028a9dbb377553e9
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:39:04 2009 +0200

Convert several new functions to use read hooks

commit b130453eb16a8cf042915e312cc5f189b8b92c01
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:38:27 2009 +0200

Add length read hooks

commit bd885ff694817b965231d99f1ab867947998e734
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 18:36:17 2009 +0200

Constify read hook arguments

commit 66fe03f1e489a88b89a15c9e13f9bd33db2729b1
Author: Petr Machata <pmachata@redhat.com>
Date: Tue Apr 28 16:11:05 2009 +0200

Change type of return value of offset read hooks to Dwarf_Off

commit 22b36e00cc228f5a966f84ca3323e5d652923ce8
Merge: 5b3534b... a7cb532...
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Apr 27 19:05:25 2009 +0200

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

commit 5b3534b62cbd45fe4f11dd1be3e492237938cce0
Author: Petr Machata <pmachata@redhat.com>
Date: Mon Apr 27 18:53:06 2009 +0200

Rewrites in read hooks

* Have the checking and reading logic itself in the header so that it gets
optimized out/inlined. Call external relocating hook from there, there
will presumably be more work to do, and we presumably don't want to keep
this in the header.

commit 9e265d71d0eb900e76d6fdb0196ef4fc6507f3a7
Merge: 1783089... 300f3a4...
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:45:25 2009 +0200

Merge branch 'master' of ssh://pmachata@git.fedorahosted.org/git/elfutils into pmachata/reader_hooks

commit 1783089b184ddea2081bbe5ac4e80420cb6b0803
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:44:48 2009 +0200

Use the new reader hooks in several places

commit 11c3d97a5b40ea15edf324092b03da3050610d01
Author: Petr Machata <pmachata@redhat.com>
Date: Thu Apr 23 17:40:03 2009 +0200

Introduce reader hooks
/external/elfutils/libdw/dwarf_getlocation.c
56bc0b83ea81b7e959aaa4e1d01f8b36f2804a52 18-Dec-2006 Ulrich Drepper <drepper@redhat.com> Lock down libelf and elflint a bit more after import of Roland's changes.
/external/elfutils/libdw/dwarf_getlocation.c
8190db6a86a37aec86c81626ab1b083c96aff891 18-Dec-2006 Roland McGrath <roland@redhat.com> propagate from branch 'com.redhat.elfutils' (head b4944cf70801d9dac056f4f80ef1334e5acb8bdc)
to branch 'com.redhat.elfutils.roland.pending' (head e7e402c668fb0670fc5f6b6a522853ae88f32f11)
/external/elfutils/libdw/dwarf_getlocation.c
1e9ef50681e20ef14c2ba38aef37a71ff148be08 05-Apr-2006 Ulrich Drepper <drepper@redhat.com> Fix FSF address. No exception for libdwarf.
/external/elfutils/libdw/dwarf_getlocation.c
361df7da6dfecd817b27e62b91752ac316d7cdd4 04-Apr-2006 Ulrich Drepper <drepper@redhat.com> propagate from branch 'com.redhat.elfutils.roland.pending' (head 4f8fc821345feef58624f0aa5b470d4827577d8c)
to branch 'com.redhat.elfutils' (head 76e26cb54695fd3b21ee8fb5be3036bd68200633)
/external/elfutils/libdw/dwarf_getlocation.c
f64a44262134500154f96c368a7d3d6e59f593c6 10-Dec-2005 Roland McGrath <roland@redhat.com> 2005-12-09 Roland McGrath <roland@redhat.com>

* dwarf_getlocation.c (dwarf_getlocation_addr): Add some unlikelys.
Delay CU base lookup until it's needed.
If CU base lookup fails with no error, flag invalid DWARF.
/external/elfutils/libdw/dwarf_getlocation.c
6724c90d02659f7466b67b357563042e403d154e 28-Oct-2005 Roland McGrath <roland@redhat.com> NEWS updates
/external/elfutils/libdw/dwarf_getlocation.c