]> granicus.if.org Git - clang/commitdiff
Minor objc2 bug fix.
authorFariborz Jahanian <fjahanian@apple.com>
Tue, 3 Feb 2009 17:34:34 +0000 (17:34 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Tue, 3 Feb 2009 17:34:34 +0000 (17:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63635 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/CGObjCMac.cpp

index 2b1d9fff0ba6247f777fde3ab7a1e1880b19c918..c7af972e9a765605698738e536defa7c0753d245 100644 (file)
@@ -3425,7 +3425,7 @@ void CGObjCNonFragileABIMac::GenerateClass(const ObjCImplementationDecl *ID) {
                                             false,
                                             llvm::GlobalValue::ExternalLinkage,
                                             0,
-                                            "\01_objc_empty_cache",
+                                            "\01__objc_empty_cache",
                                             &CGM.getModule());
     UsedGlobals.push_back(ObjCEmptyCacheVar);
     
@@ -3435,7 +3435,7 @@ void CGObjCNonFragileABIMac::GenerateClass(const ObjCImplementationDecl *ID) {
                             false,
                             llvm::GlobalValue::ExternalLinkage,
                             0,
-                            "\01_objc_empty_vtable",
+                            "\01__objc_empty_vtable",
                             &CGM.getModule());
     UsedGlobals.push_back(ObjCEmptyVtableVar);
   }