-
Notifications
You must be signed in to change notification settings - Fork 64
Notes
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
To be able to build gcc a number of packages had to be installed first
- m4
- flex
- libsigsegv2
- libfl-dev
- libmpc-dev
- libgmpxx4ldbl
- libgmp-dev
- libmpfr-dev
../gcc-5.1.0/configure --prefix=/home/dylan/local --enable-host-shared --enable-languages=jit --disable-bootstrap --disable-multilib
cmake -DCMAKE_INSTALL_PREFIX=c:\LLVM -DLLVM_TARGETS_TO_BUILD="X86" -G "Visual Studio 12 Win64" ..
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/dylan/LLVM -DLLVM_TARGETS_TO_BUILD="X86" ..
C:\d\llvm-3.8.1.src\build32>cmake -DCMAKE_INSTALL_PREFIX=c:\d\LLVM37_32 -DLLVM_TARGETS_TO_BUILD="X86" -G "Visual Studio 14" -DCMAKE_BUILD_TYPE=Release ..
C:\d\llvm-3.8.1.src\build32>cmake -DCMAKE_INSTALL_PREFIX=c:\d\LLVM37 -DLLVM_TARGETS_TO_BUILD="X86" -G "Visual Studio 14 Win64" -DCMAKE_BUILD_TYPE=Release ..