From 848493d886c46f00cea951ec8b76615b63f86f61 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 28 Nov 2013 17:00:49 +0000 Subject: The global prefix is always one char. Don't use a string for it. llvm-svn: 195926 --- llvm/lib/MC/MCAsmInfoDarwin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp') diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp index 704c8161f88..8a021ce3ae7 100644 --- a/llvm/lib/MC/MCAsmInfoDarwin.cpp +++ b/llvm/lib/MC/MCAsmInfoDarwin.cpp @@ -23,7 +23,7 @@ void MCAsmInfoDarwin::anchor() { } MCAsmInfoDarwin::MCAsmInfoDarwin() { // Common settings for all Darwin targets. // Syntax: - GlobalPrefix = "_"; + GlobalPrefix = '_'; PrivateGlobalPrefix = "L"; LinkerPrivateGlobalPrefix = "l"; HasSingleParameterDotFile = false; -- cgit v1.2.3