[cfe-commits] r149377 - /cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Benjamin Kramer
benny.kra at googlemail.com
Tue Jan 31 02:30:47 PST 2012
Author: d0k
Date: Tue Jan 31 04:30:46 2012
New Revision: 149377
URL: http://llvm.org/viewvc/llvm-project?rev=149377&view=rev
Log:
Don't zero terminate the bitmap twice.
Modified:
cfe/trunk/lib/CodeGen/CGObjCMac.cpp
Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGObjCMac.cpp?rev=149377&r1=149376&r2=149377&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGObjCMac.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGObjCMac.cpp Tue Jan 31 04:30:46 2012
@@ -4040,7 +4040,7 @@
llvm::GlobalVariable * Entry =
CreateMetadataVar("\01L_OBJC_CLASS_NAME_",
- llvm::ConstantDataArray::getString(VMContext, BitMap),
+ llvm::ConstantDataArray::getString(VMContext, BitMap,false),
((ObjCABI == 2) ?
"__TEXT,__objc_classname,cstring_literals" :
"__TEXT,__cstring,cstring_literals"),
More information about the cfe-commits
mailing list