[PATCH] D18758: [Coverage] Support for making test data for more than one function.

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 6 10:40:45 PDT 2016


vsk added a comment.

Could you explain the difference between global file indices and an index in a function?


================
Comment at: llvm/trunk/unittests/ProfileData/CoverageMappingTest.cpp:86
@@ +85,3 @@
+struct InputFunctionCoverageData {
+  std::map<unsigned, unsigned> ReverseVirtualFileMapping;
+  std::string Name;
----------------
Please add a comment explaining the what the map contains. Also, would an `llvm::SmallDenseMap` work here?


http://reviews.llvm.org/D18758





More information about the llvm-commits mailing list