LLVM 22.0.0git
BuiltinGCs.h
Go to the documentation of this file.
1//===-- BuiltinGCs.h - Garbage collector linkage hacks --------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file contains hack functions to force linking in the builtin GC
10// components.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_IR_BUILTINGCS_H
15#define LLVM_IR_BUILTINGCS_H
16
18
19namespace llvm {
20
21/// FIXME: Collector instances are not useful on their own. These no longer
22/// serve any purpose except to link in the plugins.
23
24/// Ensure the definition of the builtin GCs gets linked in
26
27/// Creates an ocaml-compatible metadata printer.
29
30/// Creates an erlang-compatible metadata printer.
32
33} // namespace llvm
34
35#endif // LLVM_IR_BUILTINGCS_H
#define LLVM_ABI
Definition Compiler.h:213
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI void linkErlangGCPrinter()
Creates an erlang-compatible metadata printer.
LLVM_ABI void linkAllBuiltinGCs()
FIXME: Collector instances are not useful on their own.
LLVM_ABI void linkOcamlGCPrinter()
Creates an ocaml-compatible metadata printer.