message: chore: improve compiler flags for sanitizers
diff: @@ -31,26 +31,26 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
  set(FOUND_CLANG 1)
  endif()
  -set(ASAN_C_FLAGS "-g -Og -DNDEBUG=1 -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fno-optimize-sibling-calls")
  +set(ASAN_C_FLAGS "-g -O0 -fstandalone-debug -DNDEBUG=1 -fsanitize=address -fsanitize=leak -fno-omit-frame-pointer -fno-optimize-sibling-calls")
  set(ASAN_C_FLAGS_CLANG "")
  set(ASAN_C_FLAGS_GCC "")
  set(ASAN_C_FLAGS_GCC7 "-fsanitize-address-use-after-scope")
  set(ASAN_EXE_LINKER_FLAGS_GCC "-static-libasan -static-libstdc++")
  set(ASAN_SHARED_LINKER_FLAGS_GCC "-static-libasan -static-libstdc++")
  -set(MSAN_C_FLAGS "-g -Og -DNDEBUG=1 -fsanitize=memory -fno-omit-frame-pointer -fno-optimize-sibling-calls")
  +set(MSAN_C_FLAGS "-g -O0 -fstandalone-debug -DNDEBUG=1 -fsanitize=memory -fno-omit-frame-pointer -fno-optimize-sibling-calls")
  set(MSAN_C_FLAGS_CLANG "")
  set(MSAN_C_FLAGS_GCC "")
  set(MSAN_EXE_LINKER_FLAGS_GCC "-static-libasan -static-libstdc++")
  set(MSAN_SHARED_LINKER_FLAGS_GCC "-static-libasan -static-libstdc++")
  -set(TSAN_C_FLAGS "-g -Og -DNDEBUG=1 -fsanitize=thread -fno-omit-frame-pointer -fno-optimize-sibling-calls")
  +set(TSAN_C_FLAGS "-g -O0 -fstandalone-debug -DNDEBUG=1 -fsanitize=thread -fno-omit-frame-pointer -fno-optimize-sibling-calls")
  set(TSAN_C_FLAGS_CLANG "")
  set(TSAN_C_FLAGS_GCC "")
  set(TSAN_EXE_LINKER_FLAGS_GCC "-static-libasan -static-libstdc++")
  set(TSAN_SHARED_LINKER_FLAGS_GCC "-static-libasan -static-libstdc++")
  -set(UBSAN_C_FLAGS "-g -Og -DNDEBUG=1 -fsanitize=undefined -fsanitize=integer -fsanitize=implicit-conversion -fno-omit-frame-pointer -fno-optimize-sibling-calls")
  +set(UBSAN_C_FLAGS "-g -O0 -fstandalone-debug -DNDEBUG=1 -fsanitize=undefined -fsanitize=integer -fsanitize=implicit-conversion -fno-omit-frame-pointer -fno-optimize-sibling-calls")
  set(UBSAN_C_FLAGS_CLANG "")
  set(UBSAN_C_FLAGS_GCC "")
  set(UBSAN_EXE_LINKER_FLAGS_GCC "-static-libasan -static-libstdc++")
  