From 564612aa77ad4378788f1c9bfa0c5de4279a7178 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Wed, 2 Nov 2016 17:10:55 +0000 Subject: [PATCH] Fix build due to missing definition. llvm-svn: 285837 --- llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h b/llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h index 773cfa2..3a6a5b2 100644 --- a/llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h +++ b/llvm/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); -- 2.7.4