[PATCH] D159089: [BOLT][RISCV] Add support for linker relaxation

Amir Ayupov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 13 12:30:17 PDT 2023


Amir added a comment.

In D159089#4624694 <https://reviews.llvm.org/D159089#4624694>, @jobnoorman wrote:

> Note that since this relies on a fix in lld (D159082 <https://reviews.llvm.org/D159082>), this patch will probably cause CI problems again (since the system's clang is used there).

Pre-merge checks here and in GitHub PRs use trunk lld [1], so if you replace clang with lld in test then it should pass.

[1]: https://buildkite.com/llvm-project/phabricator-run-tests/builds/173788#018a4173-32e6-4d74-9871-6c0bff371c9c/117-120



================
Comment at: bolt/test/RISCV/relax.s:1
+// RUN: %clang %cflags -o %t %s
+// RUN: llvm-bolt --print-cfg --print-fix-riscv-calls --print-only=_start \
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D159089



More information about the llvm-commits mailing list