diff options
author | Kazu Hirata <kazu@google.com> | 2023-08-25 11:00:52 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2023-08-25 11:00:52 -0700 |
commit | 636269f4fca44693bfd787b0a37bb0328ffcc085 (patch) | |
tree | 31420386dbcde60df5887aa5f3033b272dfdf75d /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | 1cfcc36812ff7857567f7c729c22ae0e2be0fb3a (diff) | |
download | llvm-636269f4fca44693bfd787b0a37bb0328ffcc085.zip llvm-636269f4fca44693bfd787b0a37bb0328ffcc085.tar.gz llvm-636269f4fca44693bfd787b0a37bb0328ffcc085.tar.bz2 |
[CodeGen] Fix a warning
This patch fixes:
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp:3540:9: error: default
label in switch which covers all enumeration values
[-Werror,-Wcovered-switch-default]
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 7823815..1456073 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -3537,8 +3537,6 @@ void CodeViewDebug::collectDebugInfoForJumpTables(const MachineFunction *MF, std::tie(Base, BaseOffset, Branch, EntrySize) = Asm->getCodeViewJumpTableInfo(JumpTableIndex, &BranchMI, Branch); break; - default: - llvm_unreachable("Unknown JumpTableEntryKind"); } CurFn->JumpTables.push_back( |