[PATCH] D86049: RFC: Implement optional exportable wrapper function generation for objc_direct methods.
Puyan Lotfi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 27 12:41:01 PDT 2022
plotfi added inline comments.
================
Comment at: clang/lib/AST/Mangle.cpp:371
+ OS << (MD->isInstanceMethod() ? '-' : '+');
+ OS << (MD->hasMethodVisibilityDefault() ? '<' : '[');
if (const auto *CID = MD->getCategory()) {
----------------
ahatanak wrote:
> Sorry, I might have missed the discussion, but what's the reason we need this change in mangling? Is it because the linker cannot handle the standard mangling scheme?
Yeah. These are for ld and dyld. Not having a preceding underscore and the square brackets causes problems.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86049/new/
https://reviews.llvm.org/D86049
More information about the cfe-commits
mailing list