[llvm] [WIP] Separate Asan instrumentation in amdgpu-sw-lower-lds. (PR #134832)

via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 16 03:26:06 PDT 2025


skc7 wrote:

lld: error: undefined symbol: __ockl_dm_alloc
lld: error: undefined symbol: __ockl_dm_dealloc

With HIP application, asan enabled, and with -amdgpu-asan-instrument-lds=false, these __ockl_* calls are made by the pass. 
Clang links ockl.bc during build. ("-mlink-builtin-bitcode" "llvm/lib/clang/21/lib/amdgcn/bitcode/ockl.bc")
 
But, I'm seeing undefined symbols for these calls. 
@b-sumner @ampandey-1995 Am I missing anything here?

https://github.com/llvm/llvm-project/pull/134832


More information about the llvm-commits mailing list