[llvm] r356838 - [DWARF] Delete a stray break and a stray comment. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 23 09:15:40 PDT 2019


Author: maskray
Date: Sat Mar 23 09:15:40 2019
New Revision: 356838

URL: http://llvm.org/viewvc/llvm-project?rev=356838&view=rev
Log:
[DWARF] Delete a stray break and a stray comment. NFC

Modified:
    llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp

Modified: llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp?rev=356838&r1=356837&r2=356838&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp (original)
+++ llvm/trunk/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp Sat Mar 23 09:15:40 2019
@@ -201,7 +201,6 @@ void RangeListEntry::dump(
   case dwarf::DW_RLE_end_of_list:
     OS << (DumpOpts.Verbose ? "" : "<End of list>");
     break;
-    //  case dwarf::DW_RLE_base_addressx:
   case dwarf::DW_RLE_base_addressx: {
     if (auto SA = LookupPooledAddress(Value0))
       CurrentBase = SA->Address;
@@ -238,7 +237,7 @@ void RangeListEntry::dump(
       Start = SA->Address;
     DWARFAddressRange(Start, Start + Value1).dump(OS, AddrSize, DumpOpts);
     break;
-  } break;
+  }
   default:
     llvm_unreachable("Unsupported range list encoding");
   }




More information about the llvm-commits mailing list