Skip to content
Dibyendu Majumdar edited this page Aug 28, 2020 · 4 revisions

RedHat

If you see this:

==48458==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.

Then do

export LD_PRELOAD=/usr/lib64/libasan.so.5

Ubuntu (outdated)

To get symbolic information (source file, line number) in stack dump when ASAN detects a problem, following options need to be set:

export ASAN_SYMBOLIZER_PATH=$HOME/LLVM/bin/llvm-symbolizer
export ASAN_OPTIONS=symbolize=1

To get verbose output from ASAN run with:

ASAN_OPTONS=verbosity=1 ../buildllvmd/ravi -e"_port=1" all.lua
Clone this wiki locally