Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion llvm/include/llvm/Linker/IRMover.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/ADT/FunctionExtras.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "llvm/Support/Compiler.h"
#include <functional>

Expand Down Expand Up @@ -70,7 +71,8 @@ class IRMover {
using LazyCallback =
llvm::unique_function<void(GlobalValue &GV, ValueAdder Add)>;

using NamedMDNodesT = DenseMap<const NamedMDNode *, DenseSet<const MDNode *>>;
using NamedMDNodesT =
DenseMap<const NamedMDNode *, SmallPtrSet<const MDNode *, 8>>;

/// Move in the provide values in \p ValuesToLink from \p Src.
///
Expand Down