emscripten-core / emscripten-core/emscripten
memory64=1/2 and address sanitizer
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Please include the following in your bug report:
**Version of emscripten/emsdk:**
emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.48-git (054bf307ee8391ffea9037761e3c9e2bc54dcbbe)
clang version 18.0.0 (https://github.com/llvm/llvm-project 7e3d1103e6e7a7fa9b5f50222732e734d171bc86)
**Failing command line in full:**
emcc memory64_test.cpp -o ./o/memory64_test.html -sMEMORY64=1 -fsanitize=address
**Error:**
wasm-ld: error: emsdk\upstream\emscripten\cache\sysroot\lib\wasm64-emscripten\libasan_rt.a(asan_allocator.o): undefined symbol: __sanitizer::GetMemoryProfile(void (*)(unsigned long, unsigned long, bool, unsigned long*), unsigned long*)
This happens regardless of the contents of memory64_test.cpp, ubsan and lsan work fine, issue seems to be limited to asan.
Contributor guide
Assessment
This issue has not been assessed yet.