[PATCH] D123334: [BOLT] Update skipRelocation for aarch64

Rafael Auler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 13:03:24 PDT 2022


rafauler added inline comments.


================
Comment at: bolt/test/runtime/plt-lld.test:1-2
 // This test checks that the pointers to PLT are properly updated.
 // The test is using lld linker.
 
----------------
Is it possible to add a check by dumping the binary symbol table to verify that these are properly updated? having the test as is (checking if a binary runs) is quite opaque for reviewers and makes it a bit hard for us to be helpful and understand what is going on and what your patch is fixing. If we treat these relocations that were relaxed to ADR as real relocs (meaning, we do not have your patch), what does it happen? Does BOLT crash? Do PLT pointers get messed up?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123334



More information about the llvm-commits mailing list