Skip to content

Commit 799e988

Browse files
authored
[LLD][COFF] Silence GCC warning in Arm64XDynamicRelocEntry::getSize (NFC) (#122382)
Fixes 71bbafb.
1 parent 6b12272 commit 799e988

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lld/COFF/Chunks.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1174,6 +1174,7 @@ size_t Arm64XDynamicRelocEntry::getSize() const {
11741174
case IMAGE_DVRT_ARM64X_FIXUP_TYPE_ZEROFILL:
11751175
llvm_unreachable("unsupported type");
11761176
}
1177+
llvm_unreachable("invalid type");
11771178
}
11781179

11791180
void Arm64XDynamicRelocEntry::writeTo(uint8_t *buf) const {

0 commit comments

Comments
 (0)