[PATCH] D19645: Skip scanRelocs for non-alloc sections.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 28 11:39:50 PDT 2016


ruiu added a comment.

So, this patch seems to be pretty effective for large executables with debug info. r266158 (Rafael's patch to change the way how we apply relocations) caused a temporary performance degradation for such executables, but this patch makes it even faster than before.

Time to link clang with debug info (output size is 1070 MB):

  before r266158: 15.312 seconds (0%)
  r266158:        17.301 seconds (+13.0%)
  Head:           16.484 seconds (+7.7%)
  w/patch:        13.166 seconds (-14.0%)


http://reviews.llvm.org/D19645





More information about the llvm-commits mailing list