[all-commits] [llvm/llvm-project] caf9eb: [BOLT] Fix two aarch64 tests

Vladislav Khmelevsky via All-commits all-commits at lists.llvm.org
Wed Apr 13 03:39:13 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: caf9eb6e4d7336a71699a5983785580acbb9c622
  Author: Vladislav Khmelevsky <och95 at yandex.ru>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

  Changed paths:
    A bolt/test/AArch64/Inputs/rels-exe.yaml
    A bolt/test/AArch64/Inputs/rels-so.yaml
    A bolt/test/AArch64/Inputs/tls-ld.yaml
    A bolt/test/AArch64/Inputs/tls-trad.yaml
    R bolt/test/AArch64/plt-lld.test
    A bolt/test/AArch64/runtime-relocs.test
    R bolt/test/runtime/AArch64/Inputs/runtime_relocs.c
    R bolt/test/runtime/AArch64/Inputs/tls_ld.yaml
    R bolt/test/runtime/AArch64/Inputs/tls_trad.yaml
    R bolt/test/runtime/AArch64/runtime_relocs.c

  Log Message:
  [BOLT] Fix two aarch64 tests

tls-lld test might be broken since compiler might optimize plt function
call and use address directly from got table. The test is removed since
plt-gnu-ld checks the same functionality + versioning symbol matching,
no need to keep both of the tests.
The toolchain might optimize relocations in runtime-relocs test, replace
the test compilation with yaml files.

Differential Revision: https://reviews.llvm.org/D123332

More information about the All-commits mailing list