[all-commits] [llvm/llvm-project] d6d5a3: [BOLT] Gate PointerAuthCFIFixup unit test on AArch...

Brian Cain via All-commits all-commits at lists.llvm.org
Tue May 19 06:47:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d6d5a3da41e24a754fdc9b3a2cb06d60f3874ce1
      https://github.com/llvm/llvm-project/commit/d6d5a3da41e24a754fdc9b3a2cb06d60f3874ce1
  Author: Brian Cain <brian.cain at oss.qualcomm.com>
  Date:   2026-05-19 (Tue, 19 May 2026)

  Changed paths:
    M bolt/unittests/Passes/PointerAuthCFIFixup.cpp

  Log Message:
  -----------
  [BOLT] Gate PointerAuthCFIFixup unit test on AArch64 target availability (#197464)

The test bodies reference AArch64:: namespace identifiers (ADDSXri, X0)
which fail to compile when AArch64 is not in LLVM_TARGETS_TO_BUILD. Wrap
all TEST_P bodies in #ifdef AARCH64_AVAILABLE and add
GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST to suppress GoogleTest's
uninstantiated suite error when no target instantiates the 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