]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/compiler-rt/lib/profile/InstrProfilingNameVar.c
Import libxo-0.9.0:
[FreeBSD/FreeBSD.git] / contrib / compiler-rt / lib / profile / InstrProfilingNameVar.c
1 /*===- InstrProfilingNameVar.c - profile name variable setup  -------------===*\
2 |*
3 |*                     The LLVM Compiler Infrastructure
4 |*
5 |* This file is distributed under the University of Illinois Open Source
6 |* License. See LICENSE.TXT for details.
7 |*
8 \*===----------------------------------------------------------------------===*/
9
10 #include "InstrProfiling.h"
11
12 /* char __llvm_profile_filename[1]
13  *
14  * The runtime should only provide its own definition of this symbol when the
15  * user has not specified one. Set this up by moving the runtime's copy of this
16  * symbol to an object file within the archive.
17  */
18 COMPILER_RT_WEAK char INSTR_PROF_PROFILE_NAME_VAR[1] = {0};