This is an archive of the discontinued LLVM Phabricator instance.

1/3: [llvm] Refactorization for fix#2 of DW_AT_ranges DW_FORM_sec_offset not using DW_AT_rnglists_base (used by GCC)
AbandonedPublic

Authored by jankratochvil on Jul 21 2021, 10:45 AM.

Details

Summary

It is required for: D106466
Fix D98289 so that it works even for 2nd..nth compilation unit (.debug_rnglists).

Diff Detail

Event Timeline

jankratochvil created this revision.Jul 21 2021, 10:45 AM
jankratochvil requested review of this revision.Jul 21 2021, 10:45 AM
jankratochvil edited the summary of this revision. (Show Details)Jul 21 2021, 11:05 AM
jhenderson accepted this revision.Jul 23 2021, 2:01 AM

Looks reasonable to me.

This revision is now accepted and ready to land.Jul 23 2021, 2:01 AM
jankratochvil retitled this revision from [llvm] 1/2: Refactorization for fix#2 of DW_AT_ranges DW_FORM_sec_offset not using DW_AT_rnglists_base (used by GCC) to 1/3: [llvm] Refactorization for fix#2 of DW_AT_ranges DW_FORM_sec_offset not using DW_AT_rnglists_base (used by GCC).Aug 4 2021, 10:40 AM
jankratochvil abandoned this revision.Aug 14 2021, 1:17 PM

With the new variant of D106466 this refactorization is no longer needed.
Thanks for the review, unfortunately I do not think it makes sense on its own (but I can check it in if you think so).