From 3593974c3d01029636e990beb1b308054f2bc41c Mon Sep 17 00:00:00 2001 From: Georg Koppen Date: Tue, 4 Apr 2017 10:19:22 +0000 Subject: [PATCH] Workaround for broken ASan builds (bug 1272498) ASan builds with GCC are broken without this patch. The much more involved one landed on mozilla-central a while ago but missed the ESR 52 train by three days. --- xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp b/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp index 08e51988971ce..b67893bf5dc52 100644 --- a/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp +++ b/xpcom/reflect/xptcall/md/unix/xptcinvoke_x86_64_unix.cpp @@ -118,8 +118,8 @@ invoke_copy_to_stack(uint64_t * d, uint32_t paramCount, nsXPTCVariant * s, // once the function is compiled with a version of ASan that has dynamic-alloca // instrumentation enabled. -MOZ_ASAN_BLACKLIST EXPORT_XPCOM_API(nsresult) +MOZ_ASAN_BLACKLIST NS_InvokeByIndex(nsISupports * that, uint32_t methodIndex, uint32_t paramCount, nsXPTCVariant * params) { -- GitLab