summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ProfileData
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-06-30 04:04:44 +0000
committerVedant Kumar <vsk@apple.com>2017-06-30 04:04:44 +0000
commit3fde2d3657089252f121682c64de13ffe8290349 (patch)
tree63165badd2b0ccce52a9c1440bf23a26b4b2812b /llvm/unittests/ProfileData
parent71fa2451d1a51e391973c3f13a41149e335269cb (diff)
downloadbcm5719-llvm-3fde2d3657089252f121682c64de13ffe8290349.tar.gz
bcm5719-llvm-3fde2d3657089252f121682c64de13ffe8290349.zip
Try to appease a buildbot.
The failure is: C:\ps4-buildslave2\llvm-clang-x86_64-expensive-checks-win\llvm\unittests\ProfileData\CoverageMappingTest.cpp(244): error C2668: 'llvm::make_unique': ambiguous call to overloaded function http://lab.llvm.org:8011/builders/llvm-clang-x86_64-expensive-checks-win/builds/3489/ llvm-svn: 306784
Diffstat (limited to 'llvm/unittests/ProfileData')
-rw-r--r--llvm/unittests/ProfileData/CoverageMappingTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/unittests/ProfileData/CoverageMappingTest.cpp b/llvm/unittests/ProfileData/CoverageMappingTest.cpp
index 9cd186ac4bc..1d621f4060c 100644
--- a/llvm/unittests/ProfileData/CoverageMappingTest.cpp
+++ b/llvm/unittests/ProfileData/CoverageMappingTest.cpp
@@ -240,8 +240,9 @@ struct CoverageMappingTest : ::testing::TestWithParam<std::pair<bool, bool>> {
make_unique<CoverageMappingReaderMock>(Funcs));
}
} else {
+ ArrayRef<OutputFunctionCoverageData> Funcs(OutputFunctions);
CoverageReaders.push_back(
- make_unique<CoverageMappingReaderMock>(OutputFunctions));
+ make_unique<CoverageMappingReaderMock>(Funcs));
}
return CoverageMapping::load(CoverageReaders, *ProfileReader);
}
OpenPOWER on IntegriCloud