[PATCH] D102296: [ELF] getRelocatedSection: remove the check for ET_REL object file

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 16:27:40 PDT 2021


Amir added a comment.

@jhenderson: thanks for the suggestion. I'm going to add the Object unit test for this change.
The motivation is the use of relocations by BOLT for function reordering optimization (specifically, to find references to functions). We recommend that users keep relocations in the final binary: https://github.com/facebookincubator/BOLT#usage


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102296/new/

https://reviews.llvm.org/D102296



More information about the llvm-commits mailing list