X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/5550874386c0bb559bfb8583390d7536df67b804..8e7feffef5e41a487cc322c68265c09cc0d7bdf2:/src/kernel/context/context_private.hpp diff --git a/src/kernel/context/context_private.hpp b/src/kernel/context/context_private.hpp deleted file mode 100644 index 93aada64ec..0000000000 --- a/src/kernel/context/context_private.hpp +++ /dev/null @@ -1,23 +0,0 @@ -/* Copyright (c) 2017-2020. The SimGrid Team. All rights reserved. */ - -/* This program is free software; you can redistribute it and/or modify it - * under the terms of the license (GNU LGPL) which comes with this package. */ - -#ifndef SIMGRID_KERNEL_CONTEXT_PRIVATE_HPP -#define SIMGRID_KERNEL_CONTEXT_PRIVATE_HPP - -#include "src/internal_config.h" - -#if HAVE_SANITIZER_ADDRESS_FIBER_SUPPORT -#include -#define ASAN_ONLY(expr) expr -#define ASAN_START_SWITCH(fake_stack_save, bottom, size) __sanitizer_start_switch_fiber(fake_stack_save, bottom, size) -#define ASAN_FINISH_SWITCH(fake_stack_save, bottom_old, size_old) \ - __sanitizer_finish_switch_fiber(fake_stack_save, bottom_old, size_old) -#else -#define ASAN_ONLY(expr) (void)0 -#define ASAN_START_SWITCH(fake_stack_save, bottom, size) (void)0 -#define ASAN_FINISH_SWITCH(fake_stack_save, bottom_old, size_old) (void)0 -#endif - -#endif