From 8c21ffdcc60fe8489c5dd3a151ef026a90625bfc Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 18 Jan 2010 00:59:24 +0000 Subject: 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 --- llvm/lib/Target/X86/X86COFFMachineModuleInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/X86/X86COFFMachineModuleInfo.h') diff --git a/llvm/lib/Target/X86/X86COFFMachineModuleInfo.h b/llvm/lib/Target/X86/X86COFFMachineModuleInfo.h index 2a9e61c2ebf..0e2009e003d 100644 --- a/llvm/lib/Target/X86/X86COFFMachineModuleInfo.h +++ b/llvm/lib/Target/X86/X86COFFMachineModuleInfo.h @@ -46,7 +46,7 @@ public: ~X86COFFMachineModuleInfo(); - void DecorateCygMingName(const MCSymbol* &Name, MCContext &Ctx, + void DecorateCygMingName(MCSymbol* &Name, MCContext &Ctx, const GlobalValue *GV, const TargetData &TD); void DecorateCygMingName(SmallVectorImpl &Name, const GlobalValue *GV, const TargetData &TD); -- cgit v1.2.3