mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
refactor: move garray_T to garray_defs.h (#26227)
This commit is contained in:
@@ -12,6 +12,10 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef ENABLE_ASAN_UBSAN
|
||||
# include <sanitizer/asan_interface.h>
|
||||
# include <sanitizer/ubsan_interface.h>
|
||||
#endif
|
||||
|
||||
#include "nvim/arglist.h"
|
||||
#include "nvim/ascii.h"
|
||||
@@ -2227,13 +2231,11 @@ static void check_swap_exists_action(void)
|
||||
}
|
||||
|
||||
#ifdef ENABLE_ASAN_UBSAN
|
||||
const char *__ubsan_default_options(void); // NOLINT(bugprone-reserved-identifier)
|
||||
const char *__ubsan_default_options(void)
|
||||
{
|
||||
return "print_stacktrace=1";
|
||||
}
|
||||
|
||||
const char *__asan_default_options(void); // NOLINT(bugprone-reserved-identifier)
|
||||
const char *__asan_default_options(void)
|
||||
{
|
||||
return "handle_abort=1,handle_sigill=1";
|
||||
|
Reference in New Issue
Block a user