[llvm-commits] [llvm-gcc-4.2] r103496 - in /llvm-gcc-4.2/trunk/gcc: llvm-abi.h llvm-backend.cpp llvm-types.cpp

Duncan Sands baldrick at free.fr
Tue May 11 13:19:21 PDT 2010


Author: baldrick
Date: Tue May 11 15:19:20 2010
New Revision: 103496

URL: http://llvm.org/viewvc/llvm-project?rev=103496&view=rev
Log:
No need to avoid collisions between LLVM's VISIBILITY_HIDDEN and
gcc's, now that LLVM's has been renamed LLVM_LIBRARY_VISIBILITY.

Modified:
    llvm-gcc-4.2/trunk/gcc/llvm-abi.h
    llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
    llvm-gcc-4.2/trunk/gcc/llvm-types.cpp

Modified: llvm-gcc-4.2/trunk/gcc/llvm-abi.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-abi.h?rev=103496&r1=103495&r2=103496&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-abi.h (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-abi.h Tue May 11 15:19:20 2010
@@ -43,8 +43,6 @@
   class BasicBlock;
 }
 
-#undef VISIBILITY_HIDDEN
-
 extern "C" {
 #include "config.h"
 #include "system.h"

Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=103496&r1=103495&r2=103496&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Tue May 11 15:19:20 2010
@@ -52,7 +52,6 @@
 #include "llvm/System/Program.h"
 
 #include <cassert>
-#undef VISIBILITY_HIDDEN
 extern "C" {
 #include "config.h"
 #include "system.h"

Modified: llvm-gcc-4.2/trunk/gcc/llvm-types.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-types.cpp?rev=103496&r1=103495&r2=103496&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-types.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-types.cpp Tue May 11 15:19:20 2010
@@ -37,7 +37,6 @@
 #include "llvm/ADT/StringExtras.h"
 #include "llvm/Support/raw_ostream.h"
 #include <map>
-#undef VISIBILITY_HIDDEN
 
 extern "C" {
 #include "config.h"





More information about the llvm-commits mailing list