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:
521d373
)
[lld-link] Fix -Wunused-but-set-variable in -DLLVM_ENABLE_ASSERTIONS=off build. NFC
author
Fangrui Song
<i@maskray.me>
Sun, 20 Jun 2021 18:35:01 +0000
(11:35 -0700)
committer
Fangrui Song
<i@maskray.me>
Sun, 20 Jun 2021 18:35:02 +0000
(11:35 -0700)
lld/COFF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/COFF/Writer.cpp
b/lld/COFF/Writer.cpp
index
422a85c
..
7a85ecb
100644
(file)
--- a/
lld/COFF/Writer.cpp
+++ b/
lld/COFF/Writer.cpp
@@
-595,6
+595,7
@@
void Writer::finalizeAddresses() {
// If the verification above thought we needed thunks, we should have
// added some.
assert(addressesChanged);
+ (void)addressesChanged;
// Recalculate the layout for the whole image (and verify the ranges at
// the start of the next round).