1//===------- Profiling.cpp ---------------------------------------- C++ ---===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#include "Profiling.h"
10
11extern "C" {
12
13// Provides empty implementations for certain functions in compiler-rt
14// that are emitted by the PGO instrumentation.
15void __llvm_profile_register_function(void *Ptr) {}
16void __llvm_profile_register_names_function(void *Ptr, long int I) {}
17void __llvm_profile_instrument_memop(long int I, void *Ptr, int I2) {}
18}
19

Provided by KDAB

Privacy Policy
Learn to use CMake with our Intro Training
Find out more

source code of offload/DeviceRTL/src/Profiling.cpp