summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-01-13 19:45:06 +0000
committerReid Kleckner <rnk@google.com>2016-01-13 19:45:06 +0000
commit340205aac8fbdc00993769bc579b2baee42eff47 (patch)
tree20f3bf69c6786357dedbe6d5dae49577f4979a06
parent5fa978b4c08702247ccd0b88f1014344185de1eb (diff)
downloadbcm5719-llvm-340205aac8fbdc00993769bc579b2baee42eff47.tar.gz
bcm5719-llvm-340205aac8fbdc00993769bc579b2baee42eff47.zip
Fix build of CodeView library
llvm-svn: 257662
-rw-r--r--llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h b/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h
index 7087cd59883..9ff2920f5d5 100644
--- a/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h
+++ b/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h
@@ -10,6 +10,7 @@
#ifndef LLVM_DEBUGINFO_CODEVIEW_TYPEINDEX_H
#define LLVM_DEBUGINFO_CODEVIEW_TYPEINDEX_H
+#include "llvm/Support/Endian.h"
#include <cassert>
#include <cinttypes>
@@ -149,7 +150,7 @@ public:
static TypeIndex Float64() { return TypeIndex(SimpleTypeKind::Float64); }
private:
- ulittle32_t Index;
+ support::ulittle32_t Index;
};
inline bool operator==(const TypeIndex &A, const TypeIndex &B) {
OpenPOWER on IntegriCloud