Bug 1544115 - Consolidate whitelisting of Rust allocation functions for LSan WPT. r=chmanchester
authorAndrew McCreight <continuation@gmail.com>
Thu, 25 Apr 2019 16:28:38 +0000
changeset 530150 cde301c4dbfc2fe7e5816331952075aa2a7989dd
parent 530149 a5b40abdd0650e724b1dedd55e231778065af2ac
child 530151 ae2f7d5c145e23057a3ada819d57231f4687fa73
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerschmanchester
bugs1544115
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1544115 - Consolidate whitelisting of Rust allocation functions for LSan WPT. r=chmanchester This whitelisting is not as mangled as the old one, so hopefully it will be more resilient to changes in the Rust compiler. I moved them to the top level white list, because like with the JS leaks we are mostly focused on C++ leaks. Any interesting Rust leak is probably due to a C++ leak. Differential Revision: https://phabricator.services.mozilla.com/D28727
testing/web-platform/meta/__dir__.ini
testing/web-platform/meta/fetch/api/cors/__dir__.ini
testing/web-platform/meta/html/browsers/offline/introduction-4/__dir__.ini
testing/web-platform/meta/pointerevents/__dir__.ini
--- a/testing/web-platform/meta/__dir__.ini
+++ b/testing/web-platform/meta/__dir__.ini
@@ -1,6 +1,6 @@
-lsan-allowed: [js_pod_malloc, js_pod_calloc, js_pod_realloc, js_arena_calloc,js_pod_arena_calloc, maybe_pod_calloc, pod_calloc, make_zeroed_pod_array, js_arena_malloc, js_arena_realloc, CompileUtf8]
+lsan-allowed: [alloc::alloc::alloc, alloc::alloc::realloc, js_pod_malloc, js_pod_calloc, js_pod_realloc, js_arena_calloc,js_pod_arena_calloc, maybe_pod_calloc, pod_calloc, make_zeroed_pod_array, js_arena_malloc, js_arena_realloc, CompileUtf8]
 leak-threshold:
   if webrender: [tab:10000, gpu: 10000, gmplugin:20000, default:16000]
   if (os == "mac"): [tab:10000, gmplugin:20000, default:2000, rdd:400]
   [tab:10000, gmplugin:20000, rdd:400]
 
--- a/testing/web-platform/meta/fetch/api/cors/__dir__.ini
+++ b/testing/web-platform/meta/fetch/api/cors/__dir__.ini
@@ -1,2 +1,2 @@
-lsan-allowed: [Alloc, Create, EntrySlotOrCreate, FetchDriverObserver, Malloc, NewPage, Realloc, alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::alloc, alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::realloc, mozilla::SchedulerGroup::CreateEventTargetFor, mozilla::ThrottledEventQueue::Create, mozilla::dom::ChromeUtils::GenerateQI, mozilla::dom::InternalRequest::GetRequestConstructorCopy, mozilla::dom::Performance::CreateForMainThread, mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry, mozilla::dom::PerformanceStorageWorker::Create, mozilla::dom::PromiseWorkerProxy::Create, mozilla::dom::WorkerCSPEventListener::Create, mozilla::dom::WorkerFetchResolver::Create, mozilla::net::nsStandardURL::TemplatedMutator, std::sys::unix::alloc::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$std..alloc..System$GT$::alloc, std::sys::unix::alloc::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$std..alloc..System$GT$::realloc]
+lsan-allowed: [Alloc, Create, EntrySlotOrCreate, FetchDriverObserver, Malloc, NewPage, Realloc, mozilla::SchedulerGroup::CreateEventTargetFor, mozilla::ThrottledEventQueue::Create, mozilla::dom::ChromeUtils::GenerateQI, mozilla::dom::InternalRequest::GetRequestConstructorCopy, mozilla::dom::Performance::CreateForMainThread, mozilla::dom::PerformanceMainThread::CreateNavigationTimingEntry, mozilla::dom::PerformanceStorageWorker::Create, mozilla::dom::PromiseWorkerProxy::Create, mozilla::dom::WorkerCSPEventListener::Create, mozilla::dom::WorkerFetchResolver::Create, mozilla::net::nsStandardURL::TemplatedMutator]
 leak-threshold: [tab:307200]
--- a/testing/web-platform/meta/html/browsers/offline/introduction-4/__dir__.ini
+++ b/testing/web-platform/meta/html/browsers/offline/introduction-4/__dir__.ini
@@ -1,1 +1,1 @@
-lsan-allowed: [Alloc, __rdl_realloc, alloc, alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::alloc, alloc_system::platform::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$alloc_system..System$GT$::realloc, mozilla::dom::ChromeUtils::GenerateQI, std::sys::unix::alloc::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$std..alloc..System$GT$::alloc, std::sys::unix::alloc::_$LT$impl$u20$core..alloc..GlobalAlloc$u20$for$u20$std..alloc..System$GT$::realloc]
+lsan-allowed: [Alloc]
--- a/testing/web-platform/meta/pointerevents/__dir__.ini
+++ b/testing/web-platform/meta/pointerevents/__dir__.ini
@@ -1,2 +1,2 @@
 leak-threshold: [default:153600, tab:307200]
-lsan-allowed: [Alloc, _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::alloc, _$LT$alloc..alloc..Global$u20$as$u20$core..alloc..Alloc$GT$::realloc, mozilla::dom::ChromeUtils::GenerateQI]
+lsan-allowed: [Alloc, mozilla::dom::ChromeUtils::GenerateQI]