[llvm] r204672 - DebugInfo: Add DW_AT_GNU_ranges_base to skeleton CUs
Eric Christopher
echristo at gmail.com
Mon Mar 24 14:58:52 PDT 2014
>
> // Relocate to the beginning of the addr_base section, else 0 for the
> // beginning of the one for this compile unit.
> - if (Asm->MAI->doesDwarfUseRelocationsAcrossSections())
> + // We could shave off some space if we deferred adding these attributes until
> + // the end of the CU to see if we have a non-empty debug_addr and debug_ranges
> + // sections so we don't bother with extra attributes and relocations.
Could probably add this at the same place that I'm adding DW_AT_ranges
to the skeleton CU.
-eric
More information about the llvm-commits
mailing list