1322855Sdim/*===- InstrProfilingNameVar.c - profile name variable setup  -------------===*\
2322855Sdim|*
3353358Sdim|* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4353358Sdim|* See https://llvm.org/LICENSE.txt for license information.
5353358Sdim|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6322855Sdim|*
7322855Sdim\*===----------------------------------------------------------------------===*/
8320537Sdim
9320537Sdim#include "InstrProfiling.h"
10320537Sdim
11320537Sdim/* char __llvm_profile_filename[1]
12320537Sdim *
13320537Sdim * The runtime should only provide its own definition of this symbol when the
14320537Sdim * user has not specified one. Set this up by moving the runtime's copy of this
15320537Sdim * symbol to an object file within the archive.
16320537Sdim */
17320537SdimCOMPILER_RT_WEAK char INSTR_PROF_PROFILE_NAME_VAR[1] = {0};
18