[llvm-commits] [gcc-plugin] r75341 - /gcc-plugin/trunk/llvm-convert.cpp

Duncan Sands baldrick at free.fr
Fri Jul 10 20:54:25 PDT 2009


Author: baldrick
Date: Fri Jul 10 22:54:25 2009
New Revision: 75341

URL: http://llvm.org/viewvc/llvm-project?rev=75341&view=rev
Log:
DECL_LLVM_PRIVATE doesn't exist in gcc mainline,
but we may want to support it somehow anyway.

Modified:
    gcc-plugin/trunk/llvm-convert.cpp

Modified: gcc-plugin/trunk/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-convert.cpp?rev=75341&r1=75340&r2=75341&view=diff

==============================================================================
--- gcc-plugin/trunk/llvm-convert.cpp (original)
+++ gcc-plugin/trunk/llvm-convert.cpp Fri Jul 10 22:54:25 2009
@@ -476,7 +476,7 @@
   assert(Fn->empty() && "Function expanded multiple times!");
 
   // Compute the linkage that the function should get.
-  if (DECL_LLVM_PRIVATE(FnDecl)) {
+  if (false) {//FIXME DECL_LLVM_PRIVATE(FnDecl)) {
     Fn->setLinkage(Function::PrivateLinkage);
   } else if (!TREE_PUBLIC(FnDecl) /*|| lang_hooks.llvm_is_in_anon(subr)*/) {
     Fn->setLinkage(Function::InternalLinkage);





More information about the llvm-commits mailing list