llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Jonathan Schleifer (Midar) <details> <summary>Changes</summary> The other places all use the underscore. This is just a quick drive-by commit, LMK if more is needed. --- Full diff: https://github.com/llvm/llvm-project/pull/88713.diff 1 Files Affected: - (modified) clang/lib/CodeGen/CGObjCGNU.cpp (+3-2) ``````````diff diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp index 4e7f777ba1d916..97df8c5ae18c64 100644 --- a/clang/lib/CodeGen/CGObjCGNU.cpp +++ b/clang/lib/CodeGen/CGObjCGNU.cpp @@ -3873,13 +3873,14 @@ llvm::Function *CGObjCGNU::ModuleInitFunction() { for (auto &untypedSel : allSelectors) { std::string selNameStr = untypedSel.getAsString(); - llvm::Constant *selName = ExportUniqueString(selNameStr, ".objc_sel_name"); + llvm::Constant *selName = ExportUniqueString(selNameStr, + ".objc_sel_name_"); for (TypedSelector &sel : table[untypedSel]) { llvm::Constant *selectorTypeEncoding = NULLPtr; if (!sel.first.empty()) selectorTypeEncoding = - MakeConstantString(sel.first, ".objc_sel_types"); + MakeConstantString(sel.first, ".objc_sel_types_"); auto selStruct = selectors.beginStruct(selStructTy); selStruct.add(selName); `````````` </details> https://github.com/llvm/llvm-project/pull/88713 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits