-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[LLD][COFF] Silence GCC warning in Arm64XDynamicRelocEntry::getSize (NFC) #122382
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-platform-windows @llvm/pr-subscribers-lld-coff Author: Jacek Caban (cjacek) ChangesFixes 71bbafb. Full diff: https://github.com/llvm/llvm-project/pull/122382.diff 1 Files Affected:
diff --git a/lld/COFF/Chunks.cpp b/lld/COFF/Chunks.cpp
index d87a4d8d1ae79b..f2d0111a19558a 100644
--- a/lld/COFF/Chunks.cpp
+++ b/lld/COFF/Chunks.cpp
@@ -1174,6 +1174,7 @@ size_t Arm64XDynamicRelocEntry::getSize() const {
case IMAGE_DVRT_ARM64X_FIXUP_TYPE_ZEROFILL:
llvm_unreachable("unsupported type");
}
+ llvm_unreachable("invalid type");
}
void Arm64XDynamicRelocEntry::writeTo(uint8_t *buf) const {
|
@llvm/pr-subscribers-lld Author: Jacek Caban (cjacek) ChangesFixes 71bbafb. Full diff: https://github.com/llvm/llvm-project/pull/122382.diff 1 Files Affected:
diff --git a/lld/COFF/Chunks.cpp b/lld/COFF/Chunks.cpp
index d87a4d8d1ae79b..f2d0111a19558a 100644
--- a/lld/COFF/Chunks.cpp
+++ b/lld/COFF/Chunks.cpp
@@ -1174,6 +1174,7 @@ size_t Arm64XDynamicRelocEntry::getSize() const {
case IMAGE_DVRT_ARM64X_FIXUP_TYPE_ZEROFILL:
llvm_unreachable("unsupported type");
}
+ llvm_unreachable("invalid type");
}
void Arm64XDynamicRelocEntry::writeTo(uint8_t *buf) const {
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/16/builds/11771 Here is the relevant piece of the build log for the reference
|
Fixes 71bbafb.