Add DWARFContext member and accessor to DWARFUnit

David Blaikie dblaikie at
Wed Sep 3 11:49:44 PDT 2014

Could we pass that by reference instead of pointer, perhaps? (I know
there's lots of pointers in the exsting codebase (here and elsewhere), but
there's at least some desire to move towards references where
practical/reasonable (essentially when rebinding and nullness are not

On Wed, Sep 3, 2014 at 11:45 AM, Frédéric Riss <friss at> wrote:

> First preparatory patch of the dwarfdump work. No feature or functional
> change, just introduce a DWARFContext member in the DWARFUnit that will be
> used later to make cross-section accesses or to store global state like
> dumping options.
> Ok to go in?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the llvm-commits mailing list