[llvm] r257662 - Fix build of CodeView library

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 13 11:45:06 PST 2016


Author: rnk
Date: Wed Jan 13 13:45:06 2016
New Revision: 257662

URL: http://llvm.org/viewvc/llvm-project?rev=257662&view=rev
Log:
Fix build of CodeView library

Modified:
    llvm/trunk/include/llvm/DebugInfo/CodeView/TypeIndex.h

Modified: llvm/trunk/include/llvm/DebugInfo/CodeView/TypeIndex.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/DebugInfo/CodeView/TypeIndex.h?rev=257662&r1=257661&r2=257662&view=diff
==============================================================================
--- llvm/trunk/include/llvm/DebugInfo/CodeView/TypeIndex.h (original)
+++ llvm/trunk/include/llvm/DebugInfo/CodeView/TypeIndex.h Wed Jan 13 13:45:06 2016
@@ -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) {




More information about the llvm-commits mailing list