[Bug 280562] [exp-run] Against llvm-19-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 01 Dec 2024 12:55:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280562

--- Comment #167 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=22a5f765704b96aa97074685d17a7216c6233c6e

commit 22a5f765704b96aa97074685d17a7216c6233c6e
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-10-24 07:02:54 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-12-01 12:32:46 +0000

    Apply workaround for building llvm-project with WITHOUT_LLVM_ASSERTIONS

    Some internal checking functions should only be declared when both
    NDEBUG and LLVM_ENABLE_ABI_BREAKING_CHECKS are undefined, otherwise you
    would get compile errors similar to:

     
/usr/src/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:921:13:
error: no member named 'VerifyDAGDivergence' in 'llvm::SelectionDAG'
       921 |     CurDAG->VerifyDAGDivergence();
           |     ~~~~~~  ^

    Adjust the conditions for declaring and using these functions. This has
    also been reported upstream.

    Reported by:    cy
    PR:             280562
    MFC after:      1 month

    (cherry picked from commit a5b1eecbed07519c637095e3291b9cbd9748e823)

 .../llvm/include/llvm/CodeGen/SelectionDAG.h           |  2 +-
 .../llvm/include/llvm/CodeGen/SelectionDAGISel.h       |  2 +-
 .../llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp     |  2 +-
 .../llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 18 +++++++++---------
 4 files changed, 12 insertions(+), 12 deletions(-)

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