[all-commits] [llvm/llvm-project] 139ebf: [Bazel] Fix `--warn-backrefs` errors in `Analysis`...

Jason Macnak via All-commits all-commits at lists.llvm.org
Tue Dec 2 13:33:13 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 139ebfa63def4935e4cc935254bbc3be5a2bde9e
      https://github.com/llvm/llvm-project/commit/139ebfa63def4935e4cc935254bbc3be5a2bde9e
  Author: Jason Macnak <jmacnak at gmail.com>
  Date:   2025-12-02 (Tue, 02 Dec 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  [Bazel] Fix `--warn-backrefs` errors in `Analysis` target (#170357)

Commit b262785 introduced a separate `AnalysisFpExc` target to try to
workaround the lack of a bazel equivalent of single source file
properties. However, this introduces backref errors when
`--warn-backrefs` is enabled.

This change alternatively just adds the `-ftrapping-math` copt to the
entire `Analysis` target.

Fix suggested by @rocallahan.



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