[PATCH] D13545: [RuntimeDyld] Fix performance problem in resolveRelocations with many sections

Keno Fischer via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 23:38:37 PDT 2015


loladiro added a comment.

Re performance, I was quite surprised too, but this is (kN)^2 (since we do it every time for all sections, for all modules) for k the number of section with N being about 5000 and the modules being very tiny (as I said, it's an artificial benchmark - just compiling all of complex number support over and over).

Re switching to ORC, I think the initial switch should be pretty simple, but I want to replace some of the homegrown functionality for splitting modules, which will be a slightly harder task. If you'll be at llvmdev later this month we can try to find some time to sit down then.


Repository:
  rL LLVM

http://reviews.llvm.org/D13545





More information about the llvm-commits mailing list