diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-18 00:59:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-18 00:59:24 +0000 |
commit | 5957c84e09b177aecf8b430c33fd75a36575fb57 (patch) | |
tree | f5f82dd21aba22d23e308c86e61f9f1524e1a75d /lib/Target/X86/X86COFFMachineModuleInfo.cpp | |
parent | 8cb9a3b13f3226b7e741768b69d26ecd6b5231f1 (diff) |
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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93700 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86COFFMachineModuleInfo.cpp')
-rw-r--r-- | lib/Target/X86/X86COFFMachineModuleInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86COFFMachineModuleInfo.cpp b/lib/Target/X86/X86COFFMachineModuleInfo.cpp index 07a1b38169..ea527955e3 100644 --- a/lib/Target/X86/X86COFFMachineModuleInfo.cpp +++ b/lib/Target/X86/X86COFFMachineModuleInfo.cpp @@ -115,7 +115,7 @@ void X86COFFMachineModuleInfo::DecorateCygMingName(SmallVectorImpl<char> &Name, /// 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) { |