summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86COFFMachineModuleInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-18 00:59:24 +0000
committerChris Lattner <sabre@nondot.org>2010-01-18 00:59:24 +0000
commit5957c84e09b177aecf8b430c33fd75a36575fb57 (patch)
treef5f82dd21aba22d23e308c86e61f9f1524e1a75d /lib/Target/X86/X86COFFMachineModuleInfo.h
parent8cb9a3b13f3226b7e741768b69d26ecd6b5231f1 (diff)
downloadllvm-5957c84e09b177aecf8b430c33fd75a36575fb57.tar.gz
llvm-5957c84e09b177aecf8b430c33fd75a36575fb57.tar.bz2
llvm-5957c84e09b177aecf8b430c33fd75a36575fb57.tar.xz
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.h')
-rw-r--r--lib/Target/X86/X86COFFMachineModuleInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86COFFMachineModuleInfo.h b/lib/Target/X86/X86COFFMachineModuleInfo.h
index 2a9e61c2eb..0e2009e003 100644
--- a/lib/Target/X86/X86COFFMachineModuleInfo.h
+++ b/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<char> &Name, const GlobalValue *GV,
const TargetData &TD);