[Bug 280562] [exp-run] Against llvm-19-update branch on GitHub
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280562] [exp-run] Against llvm-19-update branch on GitHub"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Oct 2024 07:04:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280562 --- Comment #94 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=a5b1eecbed07519c637095e3291b9cbd9748e823 commit a5b1eecbed07519c637095e3291b9cbd9748e823 Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2024-10-24 07:02:54 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2024-10-24 07:03:02 +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 .../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.