llvm-6502/include/llvm/CodeGen/Collectors.h
Chris Lattner 7ed47a1335 Don't attribute in file headers anymore. See llvmdev for the
discussion of this change.  Boy are my fingers tired. ;-)



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-29 19:59:42 +00:00

40 lines
1.2 KiB
C++

//===-- Collectors.h - Garbage collector registry -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file declares the CollectorRegistry class, which is used to discover
// pluggable garbage collectors.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_CODEGEN_COLLECTORS_H
#define LLVM_CODEGEN_COLLECTORS_H
#include "llvm/Support/Registry.h"
namespace llvm {
class Collector;
/// The collector registry uses all the defaults from Registry.
///
typedef Registry<Collector> CollectorRegistry;
/// FIXME: Collector instances are not useful on their own. These no longer
/// serve any purpose except to link in the plugins.
/// Creates an ocaml-compatible garbage collector.
Collector *createOcamlCollector();
/// Creates a shadow stack garbage collector. This collector requires no code
/// generator support.
Collector *createShadowStackCollector();
}
#endif