[PATCH] D42199: [scudo] Fix for the Scudo interface function scope
Kostya Kortchinsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 17 15:12:51 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT322782: [scudo] Fix for the Scudo interface function scope (authored by cryptoad, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D42199?vs=130280&id=130288#toc
Repository:
rL LLVM
https://reviews.llvm.org/D42199
Files:
lib/scudo/scudo_allocator.cpp
Index: lib/scudo/scudo_allocator.cpp
===================================================================
--- lib/scudo/scudo_allocator.cpp
+++ lib/scudo/scudo_allocator.cpp
@@ -17,6 +17,7 @@
#include "scudo_allocator.h"
#include "scudo_crc32.h"
#include "scudo_flags.h"
+#include "scudo_interface_internal.h"
#include "scudo_tsd.h"
#include "scudo_utils.h"
@@ -735,10 +736,8 @@
// Interface functions
-extern "C" {
void __scudo_set_rss_limit(uptr LimitMb, s32 HardLimit) {
if (!SCUDO_CAN_USE_PUBLIC_INTERFACE)
return;
Instance.setRssLimit(LimitMb, !!HardLimit);
}
-} // extern "C"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42199.130288.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180117/50142e9a/attachment.bin>
More information about the llvm-commits
mailing list