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:
183d4c2
)
Suppress a -Wunused-variable warning in release builds.
author
Craig Topper
<craig.topper@gmail.com>
Sun, 20 Mar 2016 01:17:54 +0000
(
01:17
+0000)
committer
Craig Topper
<craig.topper@gmail.com>
Sun, 20 Mar 2016 01:17:54 +0000
(
01:17
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263892
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
b/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index
9a9ac39
..
4c4809f
100644
(file)
--- a/
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@
-288,6
+288,7
@@
void CodeViewDebug::emitTypeInformation() {
// Emit LF_FUNC_ID records for all inlined subprograms to the type stream.
// Allocate one type index for each func id.
unsigned NextIdx = getNextTypeIndex(InlinedSubprograms.size());
+ (void)NextIdx;
assert(NextIdx == FuncIdTypeIndexStart && "func id type indices broken");
for (auto *SP : InlinedSubprograms) {
StringRef DisplayName = SP->getDisplayName();