[all-commits] [llvm/llvm-project] 1f84bd: [BOLT] Fix test with -DCLANG_DEFAULT_PIE_ON_LINUX=...

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Mar 9 06:21:21 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f84bdeac2dfb2c9ac4eef586ee154438facaebc
      https://github.com/llvm/llvm-project/commit/1f84bdeac2dfb2c9ac4eef586ee154438facaebc
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2026-03-09 (Mon, 09 Mar 2026)

  Changed paths:
    M bolt/test/max-funcs.test

  Log Message:
  -----------
  [BOLT] Fix test with -DCLANG_DEFAULT_PIE_ON_LINUX=OFF (#185047)

Use `%cxxflags`, so that `-fPIE -pie` get passed in order to ensure the
test behavior is the same regardless of cmake configuration. We do
similar in many other BOLT tests.



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