Need to bitcast the function pointer passed as a parameter to the real
type to avoid possible problem with calling conventions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
This patch appears to fix the problem on my Mac Mini M1 machine (at least, it passes the trivial test in the bug report). I cannot comment on the code itself, which someone else should review.
Comment Actions
LGTM. I assume we can soon get rid of the variadic function type if we never use it as such.