10b57cec5SDimitry Andric /*===- InstrProfilingNameVar.c - profile name variable setup -------------===*\ 20b57cec5SDimitry Andric |* 30b57cec5SDimitry Andric |* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 40b57cec5SDimitry Andric |* See https://llvm.org/LICENSE.txt for license information. 50b57cec5SDimitry Andric |* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 60b57cec5SDimitry Andric |* 70b57cec5SDimitry Andric \*===----------------------------------------------------------------------===*/ 80b57cec5SDimitry Andric 90b57cec5SDimitry Andric #include "InstrProfiling.h" 100b57cec5SDimitry Andric 110b57cec5SDimitry Andric /* char __llvm_profile_filename[1] 120b57cec5SDimitry Andric * 130b57cec5SDimitry Andric * The runtime should only provide its own definition of this symbol when the 140b57cec5SDimitry Andric * user has not specified one. Set this up by moving the runtime's copy of this 150b57cec5SDimitry Andric * symbol to an object file within the archive. 160b57cec5SDimitry Andric */ 17*bdd1243dSDimitry Andric COMPILER_RT_WEAK COMPILER_RT_VISIBILITY char INSTR_PROF_PROFILE_NAME_VAR[1] = {0}; 18