diff options
author | Eric Christopher <echristo@gmail.com> | 2013-04-22 07:51:08 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-04-22 07:51:08 +0000 |
commit | 1b0cd2f2a69c2ee6dd82e5445728f1b93aef4f47 (patch) | |
tree | 543bdcc4bc41a1be8a69ab6f7d302f851307f732 /lib/CodeGen/AsmPrinter/DwarfDebug.cpp | |
parent | 6c3bb94445305f8ee0be6d3c9457a411bf22b3eb (diff) | |
download | external_llvm-1b0cd2f2a69c2ee6dd82e5445728f1b93aef4f47.zip external_llvm-1b0cd2f2a69c2ee6dd82e5445728f1b93aef4f47.tar.gz external_llvm-1b0cd2f2a69c2ee6dd82e5445728f1b93aef4f47.tar.bz2 |
Tidy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DwarfDebug.cpp')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DwarfDebug.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp index c3f4751..f3303e3 100644 --- a/lib/CodeGen/AsmPrinter/DwarfDebug.cpp +++ b/lib/CodeGen/AsmPrinter/DwarfDebug.cpp @@ -822,7 +822,8 @@ void DwarfDebug::beginModule() { // CU then construct a skeleton CU based upon it. if (useSplitDwarf()) { // This should be a unique identifier when we want to build .dwp files. - CU->addUInt(CU->getCUDie(), dwarf::DW_AT_GNU_dwo_id, dwarf::DW_FORM_data8, 0); + CU->addUInt(CU->getCUDie(), dwarf::DW_AT_GNU_dwo_id, + dwarf::DW_FORM_data8, 0); // Now construct the skeleton CU associated. constructSkeletonCU(CUNode); } @@ -2544,13 +2545,14 @@ CompileUnit *DwarfDebug::constructSkeletonCU(const MDNode *N) { // This should be a unique identifier when we want to build .dwp files. NewCU->addUInt(Die, dwarf::DW_AT_GNU_dwo_id, dwarf::DW_FORM_data8, 0); - // Relocate to the beginning of the addr_base section, else 0 for the beginning - // of the one for this compile unit. + // 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()) NewCU->addLabel(Die, dwarf::DW_AT_GNU_addr_base, dwarf::DW_FORM_sec_offset, DwarfAddrSectionSym); else - NewCU->addUInt(Die, dwarf::DW_AT_GNU_addr_base, dwarf::DW_FORM_sec_offset, 0); + NewCU->addUInt(Die, dwarf::DW_AT_GNU_addr_base, + dwarf::DW_FORM_sec_offset, 0); // 2.17.1 requires that we use DW_AT_low_pc for a single entry point // into an entity. We're using 0, or a NULL label for this. |