The static function ObjCGetClassNameRaw in AppleObjCRuntimeV2.cpp gets called fairly frequently to resolve the names of classes. It runs a UserExpression, rather than making a UtilityFunction which means it is compiling, and JITing the expression every time it is called. For something that’s called often like this within lldb it’s more efficient to write a UtilityFunction wrapper so you only have to JIT once.
Details
Details
Diff Detail
Diff Detail