aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/DynamicLibrarySymbolDefs.def
blob: c012916534bd8fc73dbe4e0abb457e0141ea9682 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//===-- DynamicLibrarySymbolDefs.def - Extra symbol definitions -*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//  This file enumerates the set of extra external symbol definitions needed for
//  dynamic libraries.
//
//===----------------------------------------------------------------------===//
#ifndef EXPLICIT_SYMBOL
#  error Must define EXPLICIT_SYMBOL to include this definitions file
#endif

#ifdef __APPLE__
EXPLICIT_SYMBOL(__ashldi3)
EXPLICIT_SYMBOL(__ashrdi3)
EXPLICIT_SYMBOL(__cmpdi2)
EXPLICIT_SYMBOL(__divdi3)
EXPLICIT_SYMBOL(__eprintf)
EXPLICIT_SYMBOL(__fixdfdi)
EXPLICIT_SYMBOL(__fixsfdi)
EXPLICIT_SYMBOL(__fixunsdfdi)
EXPLICIT_SYMBOL(__fixunssfdi)
EXPLICIT_SYMBOL(__floatdidf)
EXPLICIT_SYMBOL(__floatdisf)
EXPLICIT_SYMBOL(__lshrdi3)
EXPLICIT_SYMBOL(__moddi3)
EXPLICIT_SYMBOL(__udivdi3)
EXPLICIT_SYMBOL(__umoddi3)
#endif

#ifdef __CYGWIN__
EXPLICIT_SYMBOL(_alloca)
EXPLICIT_SYMBOL(__main)
#endif

#undef EXPLICIT_SYMBOL