build/clang-plugin/ThreadAllows.txt
author kriswright <kwright@mozilla.com>
Thu, 27 Feb 2020 12:53:54 +0000 (2020-02-27)
changeset 515968 f400f164b3947b4dd54089a36ea31cca2d72805b
parent 515329 459a77fff5166bb4fa82262a5af5d169883dcd95
child 516184 4e986d118c340585b5f4c7df3481c03573c5e60c
permissions -rw-r--r--
Bug 1613440 - Add new clang plugin to deprecate NS_NewNamedThread r=andi Creates a NoNewThreadsChecker plugin that looks for the function and checks to see if it's allowed. -Creates two allowlists - `ThreadAllows.txt` is for thread names, while `ThreadFileAllows.txt` checks for entire files where instances of `NS_NewNamedThread` should be ignored. -If an instance of `NS_NewNamedThread` is not listed in either list, then the checker throws an error with an additional note containing a more descriptive explanation of the failure. Differential Revision: https://phabricator.services.mozilla.com/D62635
ApplyUpdates
AsyncShutdownPr
AsyncShutdownWt
Atom Test
AutoRefCnt Test
AutoTestThread
AwaitIdleMixed
AwaitIdlePaused
BGReadURLs
BHMgr Processor
BgFileSaver
COM Intcpt Log
COM MTA
Cache Deleter
Cache I/O
Cameras IPC
ChainedPipePump
ChainedPipeRecv
Checker Test
Cookie
CrashRep Inject
DDMediaLogs
DOM File
DOMCacheThread
DataChannel IO
DataStorage
DatabaseLocker
DecodeToSurface
Decoder Test
FileWatcher IO
Font Loader
FontEnumThread
Function Broker
GMPThread
Gamepad
GeckoProfGTest
GraphRunner
HTML5 Parser
IPC Launch
IPDL Background
IdentityCrypto
LS Thread
LayerScope
MDCDMThread
MWQThread
MediaCache
MediaTelemetry
MediaTrackGrph
mtransport
NamedPipeSrv
NetPredictClean
Netlink Monitor
OSKeyStore
OutputDrain
PaintThread
PlayEventSound
ProcessHangMon
ProfSymbolTable
ProfilerChild
ProxyResolution
RWLockTester
RacingServMan
RemVidChild
RemVidParent
Sandbox Testing
SaveScripts
Socket Thread
SpeechWorker
SpinEventLoop
StressRunner
SuicideManager
SuicideThread
TEQ AwaitIdle
TelemetryGVIO
Test Thread
Test thread
TestPipe
TestShortWrites
TestThreadsMain
Testing Thread
Timer Thread
ToastBgThread
URL Classifier
Update Watcher
VsyncIOThread
Wifi Monitor
Worker Launcher
speechd init
t1
t2
thread
thread shutdown
wifi tickler