mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-06 20:10:26 +00:00
Reformat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198980 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
708166f4d2
commit
fae2ba0303
@ -210,9 +210,8 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M)
|
|||||||
else
|
else
|
||||||
HasDwarfPubSections = DwarfPubSections == Enable;
|
HasDwarfPubSections = DwarfPubSections == Enable;
|
||||||
|
|
||||||
DwarfVersion = DwarfVersionNumber
|
DwarfVersion = DwarfVersionNumber ? DwarfVersionNumber
|
||||||
? DwarfVersionNumber
|
: getDwarfVersion(MMI->getModule());
|
||||||
: getDwarfVersion(MMI->getModule());
|
|
||||||
|
|
||||||
{
|
{
|
||||||
NamedRegionTimer T(DbgTimerName, DWARFGroupName, TimePassesIsEnabled);
|
NamedRegionTimer T(DbgTimerName, DWARFGroupName, TimePassesIsEnabled);
|
||||||
@ -2939,8 +2938,7 @@ void DwarfDebug::initSkeletonUnit(const DwarfUnit *U, DIE *Die,
|
|||||||
// Relocate to the beginning of the addr_base section, else 0 for the
|
// Relocate to the beginning of the addr_base section, else 0 for the
|
||||||
// beginning of the one for this compile unit.
|
// beginning of the one for this compile unit.
|
||||||
if (Asm->MAI->doesDwarfUseRelocationsAcrossSections())
|
if (Asm->MAI->doesDwarfUseRelocationsAcrossSections())
|
||||||
NewU->addSectionLabel(Die, dwarf::DW_AT_GNU_addr_base,
|
NewU->addSectionLabel(Die, dwarf::DW_AT_GNU_addr_base, DwarfAddrSectionSym);
|
||||||
DwarfAddrSectionSym);
|
|
||||||
else
|
else
|
||||||
NewU->addSectionOffset(Die, dwarf::DW_AT_GNU_addr_base, 0);
|
NewU->addSectionOffset(Die, dwarf::DW_AT_GNU_addr_base, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user