Index: include/llvm/ProfileData/InstrProfWriter.h =================================================================== --- include/llvm/ProfileData/InstrProfWriter.h +++ include/llvm/ProfileData/InstrProfWriter.h @@ -14,7 +14,7 @@ #ifndef LLVM_PROFILEDATA_INSTRPROFWRITER_H #define LLVM_PROFILEDATA_INSTRPROFWRITER_H -#include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/MapVector.h" #include "llvm/ADT/StringMap.h" #include "llvm/ProfileData/InstrProf.h" #include "llvm/Support/Endian.h" @@ -32,7 +32,7 @@ class InstrProfWriter { public: - using ProfilingData = SmallDenseMap; + using ProfilingData = MapVector; enum ProfKind { PF_Unknown = 0, PF_FE, PF_IRLevel }; private: