[PATCH] D82311: [DebugInfo] Fix emitting offsets to CUs with -dwarf-sections-as-references=Enable.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 23 01:01:03 PDT 2020


ikudrin added a comment.

The problematic code path is performed only when generating `.debug_pub*` or `.debug_aranges` sections when the option is set to `Enabled`, but as it was stated in D43943 <https://reviews.llvm.org/D43943>, where the option was added, it was intended only for cases, when these sections are omitted/ignored. Nevertheless, the common code should be correct as its usage might be extended in the future.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82311/new/

https://reviews.llvm.org/D82311





More information about the llvm-commits mailing list