[PATCH] D19656: [ELF] - keep alive all non-text sections referenced by .eh_frame

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


ruiu added a comment.

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/D19656





More information about the llvm-commits mailing list