This is the mail archive of the
dwarf2@corp.sgi.com
mailing list for the dwarf2 project.
Re: DWARF references crossing shared library boundaries
- To: eager at eagercon dot com
- Subject: Re: DWARF references crossing shared library boundaries
- From: todd dot allen at ccur dot com (Todd Allen)
- Date: Mon, 5 Mar 2001 09:36:45 -0700 (MST)
- Cc: davea at quasar dot engr dot sgi dot com (David B Anderson), dwarf2 at corp dot sgi dot com (dwarf2)
- Reply-To: todd dot allen at ccur dot com (Todd Allen)
>
> Clearly, once you open the door to references from Dwarf in one
> shared library to symbols in another shared library, you implicitly
> require a debugger to not only relocate Dwarf entries relative
> to the current shared library, but also to handle other relocations.
> This requirement holds, even if you never have this situation.
>
Yes. Even as we were doing it, we understood that it would be a burden on
DWARF consumers. But the standard goes to quite a bit of trouble to try
to compress the sizes of the dwarf sections (e.g. abbrevs, lines & cfa
state machines, leb128 numbers, etc.), without placing too onerous a
burden on the consumers.
We concluded that the burden for cross-shared-object relocations wasn't
_too_ onerous, and was worth it for the considerable size benefit that we
could gain with our compilation model.
--
Todd Allen
Concurrent Computer Corporation