1e8d8bef9SDimitry Andric /*===- InstrProfilingVersionVar.c - profile version variable setup -------===*\ 2e8d8bef9SDimitry Andric |* 3e8d8bef9SDimitry Andric |* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4e8d8bef9SDimitry Andric |* See https://llvm.org/LICENSE.txt for license information. 5e8d8bef9SDimitry Andric |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6e8d8bef9SDimitry Andric |* 7e8d8bef9SDimitry Andric \*===----------------------------------------------------------------------===*/ 8e8d8bef9SDimitry Andric 9e8d8bef9SDimitry Andric #include "InstrProfiling.h" 10e8d8bef9SDimitry Andric 11e8d8bef9SDimitry Andric /* uint64 __llvm_profile_raw_version 12e8d8bef9SDimitry Andric * 13e8d8bef9SDimitry Andric * The runtime should only provide its own definition of this symbol when the 14e8d8bef9SDimitry Andric * user has not specified one. Set this up by moving the runtime's copy of this 15e8d8bef9SDimitry Andric * symbol to an object file within the archive. 16e8d8bef9SDimitry Andric */ 17*bdd1243dSDimitry Andric COMPILER_RT_VISIBILITY COMPILER_RT_WEAK uint64_t INSTR_PROF_RAW_VERSION_VAR = 18349cc55cSDimitry Andric INSTR_PROF_RAW_VERSION; 19