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 | b6ed586428ff361d7a31c476b97efa3fe7b1a28c (patch) | |
tree | f5f82dd21aba22d23e308c86e61f9f1524e1a75d /lib/Target/X86/X86COFFMachineModuleInfo.cpp | |
parent | 1e9a11b57bff0f237a15b2b67eafd71a1e220aa4 (diff) | |
download | external_llvm-b6ed586428ff361d7a31c476b97efa3fe7b1a28c.zip external_llvm-b6ed586428ff361d7a31c476b97efa3fe7b1a28c.tar.gz external_llvm-b6ed586428ff361d7a31c476b97efa3fe7b1a28c.tar.bz2 |
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 07a1b38..ea52795 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) { |