HomeFreeBSD

Tentatively merge llvm fix for buildworld WITH_ASAN

Description

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)

Details

Provenance
dimAuthored on Oct 28 2024, 5:33 PM
Parents
rG57d879534096: igc: Remove a bogus register write in igc_if_queues_free()
Branches
Unknown
Tags
Unknown