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 | 8c21ffdcc60fe8489c5dd3a151ef026a90625bfc (patch) | |
tree | bd5e3f99474979135461a8730c74ae05ac48c183 /llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp | |
parent | c8f7717808df07c096107cb397a91e0772bca028 (diff) | |
download | bcm5719-llvm-8c21ffdcc60fe8489c5dd3a151ef026a90625bfc.tar.gz bcm5719-llvm-8c21ffdcc60fe8489c5dd3a151ef026a90625bfc.zip |
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
Diffstat (limited to 'llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp b/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp index 07a1b381698..ea527955e37 100644 --- a/llvm/lib/Target/X86/X86COFFMachineModuleInfo.cpp +++ b/llvm/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) { |