summaryrefslogtreecommitdiffstats
path: root/testing/coverage_util_ios.cc
blob: 15ac1b4a0a89a99b700d6c2e24624db753805602 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

extern "C" void __gcov_flush();

namespace coverage_util {

void FlushCoverageDataIfNecessary() {
#if defined(ENABLE_TEST_CODE_COVERAGE)
  __gcov_flush();
#endif
}

}  // namespace coverage_util