Change CurrentFnSym to be a non-const pointer since asmprinter mutates it 
as it emits code.  Switch .globl directives to use OutStreamer instead of
doing it textually (in x86)

llvm-svn: 93700
diff --git a/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp b/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp
index 07a1b38..ea52795 100644
--- a/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp
+++ b/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp
@@ -115,7 +115,7 @@
 
 /// DecorateCygMingName - Query FunctionInfoMap and use this information for
 /// various name decorations for Cygwin and MingW.
-void X86COFFMachineModuleInfo::DecorateCygMingName(const MCSymbol *&Name,
+void X86COFFMachineModuleInfo::DecorateCygMingName(MCSymbol *&Name,
                                                    MCContext &Ctx,
                                                    const GlobalValue *GV,
                                                    const TargetData &TD) {