1 //===-- BuiltinGCs.h - Garbage collector linkage hacks --------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains hack functions to force linking in the builtin GC
13 //===----------------------------------------------------------------------===//
15 #ifndef LLVM_CODEGEN_GCS_H
16 #define LLVM_CODEGEN_GCS_H
20 /// FIXME: Collector instances are not useful on their own. These no longer
21 /// serve any purpose except to link in the plugins.
23 /// Ensure the definition of the builtin GCs gets linked in
24 void linkAllBuiltinGCs();
26 /// Creates an ocaml-compatible metadata printer.
27 void linkOcamlGCPrinter();
29 /// Creates an erlang-compatible metadata printer.
30 void linkErlangGCPrinter();