[DebugInfo] Add missing 'break' in switch (NFC)
authorBenjamin Maxwell <benjamin.maxwell@arm.com>
Mon, 6 Feb 2023 17:38:35 +0000 (17:38 +0000)
committerBenjamin Maxwell <benjamin.maxwell@arm.com>
Mon, 6 Feb 2023 17:41:00 +0000 (17:41 +0000)
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp

index 67c6e7c..0d146a0 100644 (file)
@@ -60,6 +60,7 @@ void dwarfgen::DIE::addAttribute(uint16_t A, dwarf::Form Form, uint64_t U) {
   case DW_FORM_addrx3:
   case DW_FORM_addrx4:
     U = DG.getAddressPool().getIndex(U);
+    break;
   default:
     break;
   }