Skip to content
Unverified Commit 67f0a691 authored by ampandey-1995's avatar ampandey-1995 Committed by GitHub
Browse files

[ASan][AMDGPU] Fix Assertion Failure. (#79795)



Assertion failure `(i >= FTy->getNumParams() || FTy->getParamType(i) ==
Args[i]->getType()) && "Calling a function with a bad signature!"'. The
'llvm.memcpy' intercepted by ASan instrumentation pass is implemented by
it's own __asan_memcpy implementation. The second argument of
llvm.memcpy accepts ptr to addrspace(4), __asan_memcpy also has to
follow ptr to addrspace(4) convention.

---------

Co-authored-by: default avatarAmit Pandey <amit.pandey@amd.com>
parent d09082f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment