Index: llvm/include/llvm/ProfileData/InstrProfWriter.h =================================================================== --- llvm/include/llvm/ProfileData/InstrProfWriter.h +++ llvm/include/llvm/ProfileData/InstrProfWriter.h @@ -21,6 +21,7 @@ #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" #include +#include #include namespace llvm { @@ -32,7 +33,7 @@ class InstrProfWriter { public: - using ProfilingData = SmallDenseMap; + using ProfilingData = std::map; enum ProfKind { PF_Unknown = 0, PF_FE, PF_IRLevel }; private: