Implement target independent TLS compatible with glibc's emutls.c.
[oota-llvm.git] / include / llvm / CodeGen / LinkAllAsmWriterComponents.h
index 1673c897a7082b13036cf31cb78531c7ae874e10..c3046da90b8db83e2e95a0d5adf10880583caf14 100644 (file)
@@ -16,6 +16,7 @@
 #define LLVM_CODEGEN_LINKALLASMWRITERCOMPONENTS_H
 
 #include "llvm/CodeGen/GCs.h"
+#include <cstdlib>
 
 namespace {
   struct ForceAsmWriterLinking {
@@ -28,6 +29,7 @@ namespace {
         return;
 
       llvm::linkOcamlGCPrinter();
+      llvm::linkErlangGCPrinter();
 
     }
   } ForceAsmWriterLinking; // Force link by creating a global definition.