OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00cc112
)
Silence warning with assertions disabled.
author
Peter Collingbourne
<peter@pcc.me.uk>
Thu, 15 Jun 2017 17:41:32 +0000
(17:41 +0000)
committer
Peter Collingbourne
<peter@pcc.me.uk>
Thu, 15 Jun 2017 17:41:32 +0000
(17:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@305485
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/LTO/LTO.cpp
patch
|
blob
|
history
diff --git
a/lib/LTO/LTO.cpp
b/lib/LTO/LTO.cpp
index
953aea9
..
35032fd
100644
(file)
--- a/
lib/LTO/LTO.cpp
+++ b/
lib/LTO/LTO.cpp
@@
-371,6
+371,7
@@
void LTO::addModuleToGlobalRes(ArrayRef<InputFile::Symbol> Syms,
unsigned Partition, bool InSummary) {
auto *ResI = Res.begin();
auto *ResE = Res.end();
+ (void)ResE;
for (const InputFile::Symbol &Sym : Syms) {
assert(ResI != ResE);
SymbolResolution Res = *ResI++;