Skip to content

Commit a7b6583

Browse files
committed
Fix MSVC "not all control paths return a value" warning. NFC.
1 parent 17316a5 commit a7b6583

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/lib/Target/AArch64/AArch64SLSHardening.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ class ThunksSet {
131131
case ThunkKind::ThunkBRAB:
132132
return BLRABThunks[indexOfXReg(Xm)];
133133
}
134+
llvm_unreachable("Unknown ThunkKindId enum");
134135
}
135136
};
136137

0 commit comments

Comments
 (0)