projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74fa803
)
Speculative build fix for non-Windows
author
Reid Kleckner
<rnk@google.com>
Tue, 23 May 2017 18:28:13 +0000
(18:28 +0000)
committer
Reid Kleckner
<rnk@google.com>
Tue, 23 May 2017 18:28:13 +0000
(18:28 +0000)
llvm-svn: 303667
llvm/lib/DebugInfo/CodeView/TypeSerializer.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/DebugInfo/CodeView/TypeSerializer.cpp
b/llvm/lib/DebugInfo/CodeView/TypeSerializer.cpp
index
afe70a2
..
c667a73
100644
(file)
--- a/
llvm/lib/DebugInfo/CodeView/TypeSerializer.cpp
+++ b/
llvm/lib/DebugInfo/CodeView/TypeSerializer.cpp
@@
-34,6
+34,7
@@
struct HashedTypePtr {
};
} // namespace
+namespace llvm {
template <> struct DenseMapInfo<HashedTypePtr> {
static inline HashedTypePtr getEmptyKey() { return HashedTypePtr(nullptr); }
static inline HashedTypePtr getTombstoneKey() {
@@
-53,6
+54,7
@@
template <> struct DenseMapInfo<HashedTypePtr> {
return ::memcmp(LHS->Data, RHS->Data, LHS->Size) == 0;
}
};
+}
/// Private implementation so that we don't leak our DenseMap instantiations to
/// users.