[all-commits] [llvm/llvm-project] bdf22d: [BOLT][AArch64] Add base_cflags for PI flags

Paschalis Mpeis via All-commits all-commits at lists.llvm.org
Tue Jun 24 04:48:50 PDT 2025


  Branch: refs/heads/users/paschalis-mpeis/bolt-aarch64-ifunc-test
  Home:   https://github.com/llvm/llvm-project
  Commit: bdf22d2602b5aaae7f153d4b8c67321bf65c70a5
      https://github.com/llvm/llvm-project/commit/bdf22d2602b5aaae7f153d4b8c67321bf65c70a5
  Author: Paschalis Mpeis <Paschalis.Mpeis at arm.com>
  Date:   2025-06-24 (Tue, 24 Jun 2025)

  Changed paths:
    M bolt/test/AArch64/array_end.c
    M bolt/test/AArch64/asm-func-debug.test
    M bolt/test/AArch64/data-in-code.s
    M bolt/test/AArch64/hook-fini.s
    M bolt/test/AArch64/ifunc.test
    M bolt/test/AArch64/jmp-table-unsupported.s
    M bolt/test/AArch64/lit.local.cfg
    M bolt/test/AArch64/tls.c
    M bolt/test/AArch64/veneer-lld-abs.s
    M bolt/test/lit.local.cfg

  Log Message:
  -----------
  [BOLT][AArch64] Add base_cflags for PI flags

By default, `%cflags`/`%cxxflags` include -fPIE and -pie, which may be
overridden by position-independent (PI) flags in tests. On some systems,
tests fail as those defaults are not inverted correctly.

This patch adds %base_cflags/%base_cxxflags for cases where tests need
to specify PI flags explicitly.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list