We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5ed3c6 commit 93c2eecCopy full SHA for 93c2eec
llvm/include/llvm/Linker/IRMover.h
@@ -13,6 +13,7 @@
13
#include "llvm/ADT/DenseMap.h"
14
#include "llvm/ADT/DenseSet.h"
15
#include "llvm/ADT/FunctionExtras.h"
16
+#include "llvm/ADT/SmallPtrSet.h"
17
#include "llvm/Support/Compiler.h"
18
#include <functional>
19
@@ -70,7 +71,8 @@ class IRMover {
70
71
using LazyCallback =
72
llvm::unique_function<void(GlobalValue &GV, ValueAdder Add)>;
73
- using NamedMDNodesT = DenseMap<const NamedMDNode *, DenseSet<const MDNode *>>;
74
+ using NamedMDNodesT =
75
+ DenseMap<const NamedMDNode *, SmallPtrSet<const MDNode *, 8>>;
76
77
/// Move in the provide values in \p ValuesToLink from \p Src.
78
///
0 commit comments