[PATCH] D39257: [Coverage] Provide a stable order for getInstantiationGroups
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 24 13:46:32 PDT 2017
vsk created this revision.
This is a follow-up to r316490.
https://reviews.llvm.org/D39257
Files:
lib/ProfileData/Coverage/CoverageMapping.cpp
Index: lib/ProfileData/Coverage/CoverageMapping.cpp
===================================================================
--- lib/ProfileData/Coverage/CoverageMapping.cpp
+++ lib/ProfileData/Coverage/CoverageMapping.cpp
@@ -33,6 +33,7 @@
#include <cassert>
#include <cstdint>
#include <iterator>
+#include <map>
#include <memory>
#include <string>
#include <system_error>
@@ -296,7 +297,7 @@
/// An instantiation set is a collection of functions that have the same source
/// code, ie, template functions specializations.
class FunctionInstantiationSetCollector {
- using MapT = DenseMap<LineColPair, std::vector<const FunctionRecord *>>;
+ using MapT = std::map<LineColPair, std::vector<const FunctionRecord *>>;
MapT InstantiatedFunctions;
public:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39257.120131.patch
Type: text/x-patch
Size: 765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171024/d4c9dc55/attachment.bin>
More information about the llvm-commits
mailing list