[Bug 271047] [exp-run] Against llvm-16-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 22 Jun 2023 21:13:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271047

--- Comment #81 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=482e0fcdf745981f2c2b12311405fe93563cefc4

commit 482e0fcdf745981f2c2b12311405fe93563cefc4
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-04-20 19:21:37 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-06-22 18:22:25 +0000

    Merge commit 16949c5c48ab from llvm-project (by Dimitry Andric):

      [compiler-rt] Include system headers before optionally defining HWCAP
macros

      In https://reviews.llvm.org/D141285 the optional definitions of `HWCAP`
      macros were moved to before their usage. However, they were also moved
      to before the inclusion of system headers which can optionally define
      them. If any of those system headers then actually defined any of the
      `HWCAP` macros, it would result in a redefinition error.

      Move the system header includes to just before the optional definitions,
      to avoid this problem.

      Reviewed By: ilinpv

      Differential Revision: https://reviews.llvm.org/D148819

    PR:             271047
    MFC after:      1 month

 .../compiler-rt/lib/builtins/cpu_model.c           | 38 +++++++++++-----------
 1 file changed, 19 insertions(+), 19 deletions(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.