diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index 2b1d9fff0ba6..c7af972e9a76 100644 --- a/clang/lib/CodeGen/CGObjCMac.cpp +++ b/clang/lib/CodeGen/CGObjCMac.cpp @@ -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); }