summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-01-11 00:23:18 +0000
committerEric Christopher <echristo@gmail.com>2014-01-11 00:23:18 +0000
commitfae2ba030391520ff215930c8939d053c1ebff3e (patch)
tree2124dca1c13fb3a51abca4789a83502a04d4a38f /lib
parent708166f4d228508ae91fa4b9c6286091b1a88d7f (diff)
downloadllvm-fae2ba030391520ff215930c8939d053c1ebff3e.tar.gz
llvm-fae2ba030391520ff215930c8939d053c1ebff3e.tar.bz2
llvm-fae2ba030391520ff215930c8939d053c1ebff3e.tar.xz
Reformat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198980 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index e6eb777ad8..9a21595a43 100644
--- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -210,9 +210,8 @@ DwarfDebug::DwarfDebug(AsmPrinter *A, Module *M)
else
HasDwarfPubSections = DwarfPubSections == Enable;
- DwarfVersion = DwarfVersionNumber
- ? DwarfVersionNumber
- : getDwarfVersion(MMI->getModule());
+ DwarfVersion = DwarfVersionNumber ? DwarfVersionNumber
+ : getDwarfVersion(MMI->getModule());
{
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
// beginning of the one for this compile unit.
if (Asm->MAI->doesDwarfUseRelocationsAcrossSections())
- NewU->addSectionLabel(Die, dwarf::DW_AT_GNU_addr_base,
- DwarfAddrSectionSym);
+ NewU->addSectionLabel(Die, dwarf::DW_AT_GNU_addr_base, DwarfAddrSectionSym);
else
NewU->addSectionOffset(Die, dwarf::DW_AT_GNU_addr_base, 0);