A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Declare fake_stack only with ASan.
[simgrid.git]
/
src
/
kernel
/
context
/
context_private.hpp
diff --git
a/src/kernel/context/context_private.hpp
b/src/kernel/context/context_private.hpp
index
037ce01
..
756aba9
100644
(file)
--- a/
src/kernel/context/context_private.hpp
+++ b/
src/kernel/context/context_private.hpp
@@
-17,7
+17,7
@@
#else
#define ASAN_ONLY(expr) (void)0
#define ASAN_START_SWITCH(fake_stack_save, bottom, size) (void)0
#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)
(fake_stack_save)
+#define ASAN_FINISH_SWITCH(fake_stack_save, bottom_old, size_old) (void)
0
#endif
#endif
#endif
#endif