[llvm] 4b8fdb6 - [DebugInfo] Add missing 'break' in switch (NFC)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 6 09:41:56 PST 2023
Author: Benjamin Maxwell
Date: 2023-02-06T17:41:00Z
New Revision: 4b8fdb61afe3444e9b54c9c1d9fbb6cd928b9541
URL: https://github.com/llvm/llvm-project/commit/4b8fdb61afe3444e9b54c9c1d9fbb6cd928b9541
DIFF: https://github.com/llvm/llvm-project/commit/4b8fdb61afe3444e9b54c9c1d9fbb6cd928b9541.diff
LOG: [DebugInfo] Add missing 'break' in switch (NFC)
Added:
Modified:
llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
index 67c6e7c54ff8..0d146a04f01b 100644
--- a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
+++ b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
@@ -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;
}
More information about the llvm-commits
mailing list