[compiler-rt] r335487 - [libFuzzer] Use Vector rather than std::vector.

Matt Morehouse via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 25 08:59:24 PDT 2018


Author: morehouse
Date: Mon Jun 25 08:59:24 2018
New Revision: 335487

URL: http://llvm.org/viewvc/llvm-project?rev=335487&view=rev
Log:
[libFuzzer] Use Vector rather than std::vector.

Modified:
    compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.cpp

Modified: compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.cpp?rev=335487&r1=335486&r2=335487&view=diff
==============================================================================
--- compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.cpp (original)
+++ compiler-rt/trunk/lib/fuzzer/FuzzerTracePC.cpp Mon Jun 25 08:59:24 2018
@@ -279,7 +279,7 @@ void TracePC::PrintCoverage() {
     std::string FunctionStr = DescribePC("%F", VisualizePC);
     std::string LineStr = DescribePC("%l", VisualizePC);
     size_t Line = std::stoul(LineStr);
-    std::vector<uintptr_t> UncoveredPCs;
+    Vector<uintptr_t> UncoveredPCs;
     for (auto TE = First; TE < Last; TE++)
       if (!ObservedPCs.count(TE->PC))
         UncoveredPCs.push_back(TE->PC);




More information about the llvm-commits mailing list