[vmkit-commits] [vmkit] r73168 -	/vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp
    Nicolas Geoffray 
    nicolas.geoffray at lip6.fr
       
    Wed Jun 10 03:19:05 PDT 2009
    
    
  
Author: geoffray
Date: Wed Jun 10 05:18:59 2009
New Revision: 73168
URL: http://llvm.org/viewvc/llvm-project?rev=73168&view=rev
Log:
Da: an external function defined in VMKit must have ExternalLinkage.
Modified:
    vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp
Modified: vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp
URL: http://llvm.org/viewvc/llvm-project/vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp?rev=73168&r1=73167&r2=73168&view=diff
==============================================================================
--- vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp (original)
+++ vmkit/trunk/lib/JnJVM/Compiler/JavaAOTCompiler.cpp Wed Jun 10 05:18:59 2009
@@ -1135,7 +1135,7 @@
     char* name = (char*)(RealVT->destructor);
     std::vector<const Type*> Args;
     const FunctionType* Ty = FunctionType::get(Type::VoidTy, Args, false);
-    Finalizer = Function::Create(Ty, GlobalValue::InternalLinkage, name,
+    Finalizer = Function::Create(Ty, GlobalValue::ExternalLinkage, name,
                                  getLLVMModule());
   } else {
     JavaMethod* meth = (JavaMethod*)(RealVT->destructor);
    
    
More information about the vmkit-commits
mailing list