[llvm] r285837 - Fix build due to missing definition.
Zachary Turner via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 2 10:10:56 PDT 2016
Author: zturner
Date: Wed Nov 2 12:10:55 2016
New Revision: 285837
URL: http://llvm.org/viewvc/llvm-project?rev=285837&view=rev
Log:
Fix build due to missing definition.
Modified:
llvm/trunk/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h?rev=285837&r1=285836&r2=285837&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h Wed Nov 2 12:10:55 2016
@@ -107,7 +107,7 @@ public:
} else {
typename T::value_type Field;
// Stop when we run out of bytes or we hit record padding bytes.
- while (!Reader->empty() && Reader->peek() < LF_PAD0) {
+ while (!Reader->empty() && Reader->peek() < 0xf0 /* LF_PAD0 */) {
if (auto EC = Mapper(*this, Field))
return EC;
Items.push_back(Field);
More information about the llvm-commits
mailing list