aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-04 05:35:56 +0000
committerChris Lattner <sabre@nondot.org>2009-08-04 05:35:56 +0000
commitdb727932a756e5f3f09a436082daa5abe58c923a (patch)
tree3604ba3eb4d0677a31f20d5e7dda389e009916b8 /lib/Target/PowerPC
parent82a57db51b6a8aa18f2cbfff79f672968976f9b6 (diff)
downloadexternal_llvm-db727932a756e5f3f09a436082daa5abe58c923a.zip
external_llvm-db727932a756e5f3f09a436082daa5abe58c923a.tar.gz
external_llvm-db727932a756e5f3f09a436082daa5abe58c923a.tar.bz2
make MergeableCString be a SectionKind "abstract class", and
add new concrete versions for 1/2/4-byte mergable strings. These are not actually created yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78055 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp b/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
index 5794a17..12a6da7 100644
--- a/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
+++ b/lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp
@@ -905,6 +905,7 @@ void PPCDarwinAsmPrinter::PrintGlobalVariable(const GlobalVariable *GVar) {
getObjFileLowering().SectionForGlobal(GVar, Mang, TM);
SwitchToSection(TheSection);
+ /// FIXME: Drive this off the section!
if (C->isNullValue() && /* FIXME: Verify correct */
!GVar->hasSection() &&
(GVar->hasLocalLinkage() || GVar->hasExternalLinkage() ||