summaryrefslogtreecommitdiffstats
path: root/build/clang-plugin/ThreadFileAllows.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /build/clang-plugin/ThreadFileAllows.txt
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'build/clang-plugin/ThreadFileAllows.txt')
-rw-r--r--build/clang-plugin/ThreadFileAllows.txt75
1 files changed, 75 insertions, 0 deletions
diff --git a/build/clang-plugin/ThreadFileAllows.txt b/build/clang-plugin/ThreadFileAllows.txt
new file mode 100644
index 0000000000..a10cbbea3e
--- /dev/null
+++ b/build/clang-plugin/ThreadFileAllows.txt
@@ -0,0 +1,75 @@
+# This file is ingested by `ThreadAllows.py` to produce a list of files which
+# our clang plugin will allow to use `NS_NewNamedThread`.
+#
+# Files may be specified with any number of slash-separated path-elements; all
+# provided path-elements must match. (Because we often move and/or symlink
+# header files, this means headers will usually have no path-elements.)
+#
+# Note that this file contains a list of _files_, not _paths_. The clang plugin
+# has no notion of $TOPSRCDIR.
+
+######
+# Release files
+
+# declaration and definition of `NS_NewNamedThread`
+nsThreadUtils.h
+xpcom/threads/nsThreadUtils.cpp
+
+# Thread-pools are permitted to make dynamically many threads, using dynamic
+# thread names with explicit numbering.
+xpcom/threads/nsThreadPool.cpp
+
+######
+# Test files
+
+# Tests for XPCOM threads themselves.
+xpcom/tests/gtest/TestThreadManager.cpp
+xpcom/tests/gtest/TestThreads.cpp
+xpcom/tests/gtest/TestThreadUtils.cpp
+
+# Tests which use dynamic thread names.
+xpcom/tests/gtest/TestHandleWatcher.cpp
+
+######
+# Unsorted release files
+#
+# Files below this point are grandfathered in. Please do not add new files to
+# this list -- and please remove any that you can, whether by documenting and
+# moving them or by confirming that they are no longer required.
+dom/indexedDB/ActorsParent.cpp
+dom/quota/ActorsParent.cpp
+DecodePool.cpp
+GeckoChildProcessHost.cpp
+LazyIdleThread.cpp
+LazyIdleThread.h
+VRThread.cpp
+mozStorageConnection.cpp
+nr_socket_prsock.cpp
+
+######
+# Unsorted test files
+#
+# Files below this point are quasi-grandfathered in: these are test files which
+# create new threads whose names were formerly in ThreadAllows.txt (without
+# justification), and have been moved here (without justification).
+dom/media/doctor/test/gtest/TestMultiWriterQueue.cpp
+image/test/fuzzing/TestDecoders.cpp
+image/test/gtest/TestDecodeToSurface.cpp
+ipc/ipdl/test/gtest/IPDLUnitTest.cpp
+security/sandbox/common/test/SandboxTestingThread.h
+storage/test/gtest/test_interruptSynchronousConnection.cpp
+storage/test/gtest/test_unlock_notify.cpp
+toolkit/components/telemetry/geckoview/gtest/TestGeckoViewStreaming.cpp
+toolkit/components/telemetry/tests/gtest/TestScalars.cpp
+toolkit/components/url-classifier/tests/gtest/Common.cpp
+tools/fuzzing/ipc/IPCFuzzController.cpp
+tools/profiler/tests/gtest/GeckoProfiler.cpp
+xpcom/tests/gtest/TestAtoms.cpp
+xpcom/tests/gtest/TestAutoRefCnt.cpp
+xpcom/tests/gtest/TestDelayedRunnable.cpp
+xpcom/tests/gtest/TestLogging.cpp
+xpcom/tests/gtest/TestPipes.cpp
+xpcom/tests/gtest/TestRacingServiceManager.cpp
+xpcom/tests/gtest/TestRWLock.cpp
+xpcom/tests/gtest/TestThrottledEventQueue.cpp
+xpcom/tests/gtest/TestTimers.cpp