aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/lib/CodeGen/GCStrategy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm/lib/CodeGen/GCStrategy.cpp')
-rw-r--r--contrib/llvm/lib/CodeGen/GCStrategy.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/llvm/lib/CodeGen/GCStrategy.cpp b/contrib/llvm/lib/CodeGen/GCStrategy.cpp
new file mode 100644
index 000000000000..6be4c16c6301
--- /dev/null
+++ b/contrib/llvm/lib/CodeGen/GCStrategy.cpp
@@ -0,0 +1,21 @@
+//===- GCStrategy.cpp - Garbage Collector Description ---------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements the policy object GCStrategy which describes the
+// behavior of a given garbage collector.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/CodeGen/GCStrategy.h"
+
+using namespace llvm;
+
+LLVM_INSTANTIATE_REGISTRY(GCRegistry)
+
+GCStrategy::GCStrategy() = default;