projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2893bcd
)
lldCOFF: Fix warnings for D110450 [-Wunused-private-field]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 9 Jan 2023 03:15:19 +0000
(12:15 +0900)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 9 Jan 2023 04:05:34 +0000
(13:05 +0900)
lld/COFF/Chunks.cpp
patch
|
blob
|
history
diff --git
a/lld/COFF/Chunks.cpp
b/lld/COFF/Chunks.cpp
index
880bfc3
..
ad5dbba
100644
(file)
--- a/
lld/COFF/Chunks.cpp
+++ b/
lld/COFF/Chunks.cpp
@@
-804,6
+804,7
@@
const uint8_t armThunk[] = {
size_t RangeExtensionThunkARM::getSize() const {
assert(ctx.config.machine == ARMNT);
+ (void)&ctx;
return sizeof(armThunk);
}
@@
-824,6
+825,7
@@
const uint8_t arm64Thunk[] = {
size_t RangeExtensionThunkARM64::getSize() const {
assert(ctx.config.machine == ARM64);
+ (void)&ctx;
return sizeof(arm64Thunk);
}