[TIMOB-18064] iOS: New Profiler does not generate function names
GitHub Issue | n/a |
Type | Bug |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 4.0.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Vishal Duggal |
Assignee | Unknown |
Created | 2014-11-20T21:45:51.000+0000 |
Updated | 2018-02-28T19:55:07.000+0000 |
Description
After the update of TiJSCore(TIMOB-11093) and titanium_profiler(TIMOB-17925) for 64 bit support the profiler is no longer emitting explicit function names. Most function calls show up as either (anonymous functions) or (program). This is a change in behavior from the old profiler behavior where the function names would show up.
Attachments
I'll need you to take a look at this.
Output from buildTiCore.sh
[~vduggal], [~ingo], here is my take on the profiler issue so far. I don’t know of a simple fix becuase I don’t yet know the root cause of the problem. I am not convinved that the problem is not with our changes to titanium_profiler. The new v20 tijscore fails to build for me, which I need to debug JavaScriptCore to see if the problem is there. The next steps are to understand why buildTiCore.sh fails on my MBP. There are 82 compiler errors before clang gives up, and the errrors don’t look simple. [~vduggal], please look at the output from
buildTiCore.sh
that I have attached to this issue as [^buildTiCore_output.txt]. For example:[~vduggal], I will need to work with you in the morning to understand your build system. It is foreign to me and different from how Apple builds their JavaScriptCore. I need a JavaScriptCore Xcode project to perform further debugging, so you will have to help me integrate your build system into Apple's JavaScriptCore Xcode project.
[~vduggal] can you please add a test case that reproduces the problem?
Deferring this out of 3.5.0, as clicking on the function names still takes you to the correct line.