From: Zachary Turner Date: Wed, 2 Nov 2016 17:10:55 +0000 (+0000) Subject: Fix build due to missing definition. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=864b18d150a49102e6fee40dd52ce68b37b06e0d;p=llvm Fix build due to missing definition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285837 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h b/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h index 773cfa22bc7..3a6a5b2d934 100644 --- a/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h +++ b/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h @@ -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);