summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2018-11-09 23:56:21 +0000
committerPhilip Reames <listmail@philipreames.com>2018-11-09 23:56:21 +0000
commitafa1742b4b343f261c6eb6f395f9df21cf72a31e (patch)
treefe6c862bb798ad796261bc43421a682796be491b /llvm/lib
parentad1151cf6a75f1887623b525184aba03778667f7 (diff)
downloadbcm5719-llvm-afa1742b4b343f261c6eb6f395f9df21cf72a31e.tar.gz
bcm5719-llvm-afa1742b4b343f261c6eb6f395f9df21cf72a31e.zip
[GC] Simplify linking of GC builtin GC strategies
llvm-svn: 346569
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/BuiltinGCs.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/BuiltinGCs.cpp b/llvm/lib/CodeGen/BuiltinGCs.cpp
index 3a9b20aa661..8c9ba26c22d 100644
--- a/llvm/lib/CodeGen/BuiltinGCs.cpp
+++ b/llvm/lib/CodeGen/BuiltinGCs.cpp
@@ -136,9 +136,5 @@ static GCRegistry::Add<StatepointGC> D("statepoint-example",
"an example strategy for statepoint");
static GCRegistry::Add<CoreCLRGC> E("coreclr", "CoreCLR-compatible GC");
-// Provide hooks to ensure the containing library is fully loaded.
-void llvm::linkErlangGC() {}
-void llvm::linkOcamlGC() {}
-void llvm::linkShadowStackGC() {}
-void llvm::linkStatepointExampleGC() {}
-void llvm::linkCoreCLRGC() {}
+// Provide hook to ensure the containing library is fully loaded.
+void llvm::linkAllBuiltinGCs() {}
OpenPOWER on IntegriCloud