• Dmitry Kazakov's avatar
    Revert "Add a CMake option for ASAN address sanitizer" · 69392e7b
    Dmitry Kazakov authored
    This reverts commit 05762b6e.
    
    Instead we should use options provided by ECMEnableSanitizers
    
    Short manual:
    ```
    cmake -DECM_ENABLE_SANITIZERS='address' .
    make -j8 install
    
    sudo apt list 'libllvm*'
    
    sudo apt install llvm-X.X # where X.X is a version of libllvm package
    
    export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer-X.X # where X.X is the verison of your llvm
    export ASAN_OPTIONS=fast_unwind_on_malloc=1:symbolize=1:malloc_context_size=15
    ```
    69392e7b
CMakeLists.txt 25.2 KB