[llvm-commits] [llvm] r43500 - in /llvm/trunk/lib/Target/X86: X86ATTAsmPrinter.h X86IntelAsmPrinter.h
Duncan Sands
baldrick at free.fr
Tue Oct 30 06:14:37 PDT 2007
Author: baldrick
Date: Tue Oct 30 08:14:37 2007
New Revision: 43500
URL: http://llvm.org/viewvc/llvm-project?rev=43500&view=rev
Log:
Fix for visibility warnings generated by gcc-4.2.
Modified:
llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.h
llvm/trunk/lib/Target/X86/X86IntelAsmPrinter.h
Modified: llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.h?rev=43500&r1=43499&r2=43500&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.h (original)
+++ llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.h Tue Oct 30 08:14:37 2007
@@ -19,7 +19,7 @@
namespace llvm {
-struct X86ATTAsmPrinter : public X86SharedAsmPrinter {
+struct VISIBILITY_HIDDEN X86ATTAsmPrinter : public X86SharedAsmPrinter {
X86ATTAsmPrinter(std::ostream &O, X86TargetMachine &TM, const TargetAsmInfo *T)
: X86SharedAsmPrinter(O, TM, T) { }
Modified: llvm/trunk/lib/Target/X86/X86IntelAsmPrinter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86IntelAsmPrinter.h?rev=43500&r1=43499&r2=43500&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86IntelAsmPrinter.h (original)
+++ llvm/trunk/lib/Target/X86/X86IntelAsmPrinter.h Tue Oct 30 08:14:37 2007
@@ -20,7 +20,7 @@
namespace llvm {
-struct X86IntelAsmPrinter : public X86SharedAsmPrinter {
+struct VISIBILITY_HIDDEN X86IntelAsmPrinter : public X86SharedAsmPrinter {
X86IntelAsmPrinter(std::ostream &O, X86TargetMachine &TM,
const TargetAsmInfo *T)
: X86SharedAsmPrinter(O, TM, T) {
More information about the llvm-commits
mailing list