[Bug 280936] cannot build world with ASAN enabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 02 Nov 2024 19:41:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280936

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

URL:
https://cgit.FreeBSD.org/src/commit/?id=17d39df524a5003131398bc9fbdf8c9fef043d05

commit 17d39df524a5003131398bc9fbdf8c9fef043d05
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2024-10-28 17:33:49 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2024-11-02 19:37:27 +0000

    Tentatively merge llvm fix for buildworld WITH_ASAN

    Building world using WITH_ASAN results in an assertion when compiling
    certain source files referencing ifuncs:

      Assertion failed: (isa<Function>(Callee) || isa<GlobalAlias>(Callee)),
function analyzeAllUses, file
/root/freebsd/contrib/llvm-project/llvm/lib/Analysis/StackSafetyAnalysis.cpp,
line 514.

    This was already reported upstream a while ago, in
    <https://github.com/llvm/llvm-project/issues/87923>, but now there is
    finally a candidate fix, which seems trivial so I am importing it right
    away.

    Reported by:    markj
    PR:             280936
    Pull Request:   https://github.com/llvm/llvm-project/pull/113841
    MFC after:      3 days

    (cherry picked from commit f3457ed94241be9d4c2c3ab337c9086d5c45c43f)

 contrib/llvm-project/llvm/lib/Analysis/StackSafetyAnalysis.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.