Page MenuHomePhabricator

D58787.id.diff
No OneTemporary

File Metadata

Created
Sat, Jun 15, 1:57 PM

D58787.id.diff

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 <cstdint>
+#include <map>
#include <memory>
namespace llvm {
@@ -32,7 +33,7 @@
class InstrProfWriter {
public:
- using ProfilingData = SmallDenseMap<uint64_t, InstrProfRecord>;
+ using ProfilingData = std::map<uint64_t, InstrProfRecord>;
enum ProfKind { PF_Unknown = 0, PF_FE, PF_IRLevel };
private:

Event Timeline