Files
clang-p2996/llvm/lib/DWARFLinker/DWARFLinkerCompileUnit.cpp
Alexey Lapshin fa2a03dc7a [NFC][DWARFLinker] Refactor address emitting code.
As a preparation for implementing DWARFv5 address ranges generation,
this patch refactors existing address ranges generation code:
Split emitUnitRangesEntries into two functions emitDwarfDebugArangesTable
and emitDwarfDebugRangesTableFragment. Use AddressRanges to prepare linked
address ranges. Refactor Unit.getLowPc(), to use std::nullopt as undefined value.

Reviewed By: JDevlieghere

Differential Revision: https://reviews.llvm.org/D141943
2023-01-20 17:44:07 +01:00

5.9 KiB