This patch uses the getSymbolIndexForFunctionAddress helper function to print function names for BB address map entries.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The quadratic behavior leading to a 10 minute latency is too much. Binary search like you mentioned or just hash look up seems like it would drastically reduce the problem, could we bake it in the same change?
Comment Actions
Agree with tmsriram@ the quadratic behaviour needs to be addressed, though I think we should split it out as a separate change which can be committed first. That would make it easier for folks to review independently. Thanks!
Comment Actions
- Reimplement symbol index lookup using a hash map. This reduces the 10 minute running time to only 3 seconds.
Comment Actions
Ah. Got it. You want to submit the optimization patch before the feature patch. Makes sense.
I think you need to check the warning in this case too?