[PATCH] D49608: Mark REAL(swapcontext) with indirect_return attribute on x86
Evgenii Stepanov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 20 11:07:47 PDT 2018
eugenis added inline comments.
================
Comment at: lib/asan/asan_interceptors.cc:278
ClearShadowMemoryForContextStack(stack, ssize);
+#if defined(__has_attribute) && (defined(__x86_64__) || defined(__i386__))
+ int (*real_swapcontext)(struct ucontext_t *, struct ucontext_t *)
----------------
Please add a __ has_attribute compatibility definition here (same as __ has_feature):
http://llvm-cs.pcc.me.uk/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h#122
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D49608
More information about the llvm-commits
mailing list