[all-commits] [llvm/llvm-project] c92d5d: [clang] Use a specific target when testing that `-...

Daniel Paoliello via All-commits all-commits at lists.llvm.org
Thu Jul 10 10:43:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c92d5dad67aafded296653c2b9a369a7fe24ba13
      https://github.com/llvm/llvm-project/commit/c92d5dad67aafded296653c2b9a369a7fe24ba13
  Author: Daniel Paoliello <danpao at microsoft.com>
  Date:   2025-07-10 (Thu, 10 Jul 2025)

  Changed paths:
    M clang/test/Driver/frame-pointer-elim.c

  Log Message:
  -----------
  [clang] Use a specific target when testing that `-fomit-frame-pointer` and `-pg` are mutually exclusive (#148000)

Some targets, such as `aarch64-pc-windows-msvc`, always require that
Frame Pointer be reserved even when `-fomit-frame-pointer` is provided,
thus it is always valid to use `-pg` on those targets.

This test didn't take these targets into account; thus it was failing on
Arm64 Windows host machines.

The fix is to explicitly set a target that doesn't require Frame
Pointers reservation.



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