[Alignment][NFC] Migrate Instructions to Align
[llvm-core.git] / include / llvm / CodeGen / BuiltinGCs.h
blobd44183dab0f7fe52f3a137b97b8732863fdf385f
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.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_CODEGEN_GCS_H
15 #define LLVM_CODEGEN_GCS_H
17 namespace llvm {
19 /// FIXME: Collector instances are not useful on their own. These no longer
20 /// serve any purpose except to link in the plugins.
22 /// Ensure the definition of the builtin GCs gets linked in
23 void linkAllBuiltinGCs();
25 /// Creates an ocaml-compatible metadata printer.
26 void linkOcamlGCPrinter();
28 /// Creates an erlang-compatible metadata printer.
29 void linkErlangGCPrinter();
32 #endif