[llvm-bugs] [Bug 34069] New: Option to inline Objective-C methods by default

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 4 11:25:54 PDT 2017


            Bug ID: 34069
           Summary: Option to inline Objective-C methods by default
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: michael.eisel at gmail.com
                CC: klimek at google.com, llvm-bugs at lists.llvm.org

Because the vast majority of Objective-C methods in my projects don't get
swizzled, it would be great to replace calls to Objective-C methods by default
to C function calls of the original function for that method. Then I could
annotate the few that I do need to potentially swizzle. This would be a great
performance win, as objc_msgSend takes around 5-15% of CPU time according to
the profiler and to talks with engineers who work on that function.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170804/346e0657/attachment.html>

More information about the llvm-bugs mailing list