LLVM  8.0.1
BuiltinGCs.h
Go to the documentation of this file.
1 //===-- BuiltinGCs.h - Garbage collector linkage hacks --------------------===//
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 // This file contains hack functions to force linking in the builtin GC
11 // components.
12 //
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_CODEGEN_GCS_H
16 #define LLVM_CODEGEN_GCS_H
17 
18 namespace llvm {
19 
20 /// FIXME: Collector instances are not useful on their own. These no longer
21 /// serve any purpose except to link in the plugins.
22 
23 /// Ensure the definition of the builtin GCs gets linked in
24 void linkAllBuiltinGCs();
25 
26 /// Creates an ocaml-compatible metadata printer.
27 void linkOcamlGCPrinter();
28 
29 /// Creates an erlang-compatible metadata printer.
30 void linkErlangGCPrinter();
31 }
32 
33 #endif
This class represents lattice values for constants.
Definition: AllocatorList.h:24
void linkErlangGCPrinter()
Creates an erlang-compatible metadata printer.
void linkAllBuiltinGCs()
FIXME: Collector instances are not useful on their own.
Definition: BuiltinGCs.cpp:131
void linkOcamlGCPrinter()
Creates an ocaml-compatible metadata printer.