|
|
|||
File indexing completed on 2026-05-10 08:43:57
0001 //===-- BuiltinGCs.h - Garbage collector linkage hacks --------------------===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 // 0009 // This file contains hack functions to force linking in the builtin GC 0010 // components. 0011 // 0012 //===----------------------------------------------------------------------===// 0013 0014 #ifndef LLVM_IR_BUILTINGCS_H 0015 #define LLVM_IR_BUILTINGCS_H 0016 0017 namespace llvm { 0018 0019 /// FIXME: Collector instances are not useful on their own. These no longer 0020 /// serve any purpose except to link in the plugins. 0021 0022 /// Ensure the definition of the builtin GCs gets linked in 0023 void linkAllBuiltinGCs(); 0024 0025 /// Creates an ocaml-compatible metadata printer. 0026 void linkOcamlGCPrinter(); 0027 0028 /// Creates an erlang-compatible metadata printer. 0029 void linkErlangGCPrinter(); 0030 0031 } // namespace llvm 0032 0033 #endif // LLVM_IR_BUILTINGCS_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|