Skip to content

Commit 450812b

Browse files
committed
Update macOS safer C++ bots with swift-DEVELOPMENT-SNAPSHOT-2026-10-17-a
https://bugs.webkit.org/show_bug.cgi?id=327998 Reviewed by Zak Ridouh. Rollout swift-DEVELOPMENT-SNAPSHOT-2026-10-17-a to macOS safer C++ bots. This will address a lot of false negatives we had to suppress after rolling out swift-DEVELOPMENT-SNAPSHOT-2026-10-06-a. * Source/JavaScriptCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations: * Source/JavaScriptCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations: * Source/JavaScriptCore/SaferCPPExpectations/UnretainedLocalVarsCheckerExpectations: * Source/WebCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations: * Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations: * Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations: * Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations: * Source/WebKit/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations: * Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations: * Source/WebKit/Shared/Foundation+Extras.swift: Workaround rdar://190360330 which causes Swift Interop to generate C++ header which uses generic class without template arguments. * Tools/CISupport/safer-cpp-swift-version: Canonical link: https://commits.webkit.org/324104@main
1 parent 6209e18 commit 450812b

11 files changed

Lines changed: 56 additions & 41 deletions

‎Source/JavaScriptCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations‎

Lines changed: 33 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ API/ObjCCallbackFunction.mm
99
b3/B3InsertionSetInlines.h
1010
b3/B3LowerToAir.cpp
1111
b3/B3ProcedureInlines.h
12-
b3/B3Value.cpp
12+
[ iOS ] b3/B3Value.cpp
1313
b3/B3ValueInlines.h
14-
b3/air/AirArg.cpp
14+
[ iOS ] b3/air/AirArg.cpp
1515
b3/air/AirCode.cpp
16-
b3/air/AirInstAnalyzer.h
16+
[ iOS ] b3/air/AirInstAnalyzer.h
1717
builtins/BuiltinExecutables.cpp
1818
bytecode/AccessCase.cpp
1919
bytecode/AccessCase.h
20-
bytecode/BytecodeGraph.h
20+
[ iOS ] bytecode/BytecodeGraph.h
2121
bytecode/CallLinkInfo.cpp
2222
bytecode/CallLinkInfoBase.cpp
2323
bytecode/CodeBlock.cpp
24-
bytecode/CodeBlock.h
24+
[ iOS ] bytecode/CodeBlock.h
2525
bytecode/CodeBlockInlines.h
2626
bytecode/Instruction.h
2727
bytecode/MetadataTable.h
@@ -37,33 +37,33 @@ bytecompiler/BytecodeGenerator.h
3737
bytecompiler/NodesCodegen.cpp
3838
debugger/Debugger.cpp
3939
dfg/DFGByteCodeParser.cpp
40-
dfg/DFGGraph.h
41-
dfg/DFGNode.h
40+
[ iOS ] dfg/DFGGraph.h
41+
[ iOS ] dfg/DFGNode.h
4242
dfg/DFGOSRExitCompilerCommon.cpp
4343
dfg/DFGOperations.cpp
44-
ftl/FTLLowerDFGToB3.cpp
44+
[ iOS ] ftl/FTLLowerDFGToB3.cpp
4545
ftl/FTLState.cpp
46-
heap/AbstractSlotVisitorInlines.h
46+
[ iOS ] heap/AbstractSlotVisitorInlines.h
4747
heap/ConservativeRoots.cpp
48-
heap/HandleTypes.h
48+
[ iOS ] heap/HandleTypes.h
4949
heap/Heap.cpp
5050
heap/LocalAllocator.cpp
51-
heap/MarkedBlock.h
51+
[ iOS ] heap/MarkedBlock.h
5252
heap/MarkedSpace.cpp
5353
heap/PreciseAllocation.cpp
5454
heap/SlotVisitor.cpp
55-
heap/SlotVisitorInlines.h
55+
[ iOS ] heap/SlotVisitorInlines.h
5656
heap/VerifierSlotVisitor.cpp
5757
heap/WeakBlock.h
5858
heap/WeakInlines.h
59-
heap/WeakSetInlines.h
59+
[ iOS ] heap/WeakSetInlines.h
6060
inspector/JSInjectedScriptHost.cpp
6161
inspector/JSJavaScriptCallFrame.cpp
6262
inspector/agents/InspectorDebuggerAgent.cpp
6363
inspector/agents/JSGlobalObjectDebuggerAgent.cpp
6464
interpreter/CallFrame.cpp
6565
interpreter/CallFrame.h
66-
jit/AssemblyHelpersSpoolers.h
66+
[ iOS ] jit/AssemblyHelpersSpoolers.h
6767
jit/GCAwareJITStubRoutine.cpp
6868
jit/JITCode.cpp
6969
jit/JITOperations.cpp
@@ -72,15 +72,15 @@ jit/JITThunks.cpp
7272
llint/LLIntSlowPaths.cpp
7373
parser/ASTBuilder.h
7474
parser/NodesAnalyzeModule.cpp
75-
parser/Parser.cpp
75+
[ iOS ] parser/Parser.cpp
7676
runtime/ArrayBufferView.cpp
7777
runtime/ArrayStorage.h
7878
runtime/Butterfly.h
7979
runtime/CacheableIdentifierInlines.h
8080
runtime/CachedTypes.cpp
8181
runtime/CodeCache.cpp
8282
runtime/DirectArguments.cpp
83-
runtime/DirectArguments.h
83+
[ iOS ] runtime/DirectArguments.h
8484
runtime/ErrorInstance.h
8585
runtime/EvalExecutable.cpp
8686
runtime/Exception.cpp
@@ -103,9 +103,9 @@ runtime/IntlSegmentIterator.h
103103
runtime/IntlSegmenter.h
104104
runtime/IntlSegments.h
105105
runtime/JSArrayBufferView.cpp
106-
runtime/JSArrayBufferView.h
107-
runtime/JSArrayInlines.h
108-
runtime/JSBigInt.cpp
106+
[ iOS ] runtime/JSArrayBufferView.h
107+
[ iOS ] runtime/JSArrayInlines.h
108+
[ iOS ] runtime/JSBigInt.cpp
109109
runtime/JSCJSValueInlines.h
110110
runtime/JSCell.cpp
111111
runtime/JSCell.h
@@ -118,13 +118,13 @@ runtime/JSFunction.cpp
118118
runtime/JSFunctionInlines.h
119119
runtime/JSGlobalLexicalEnvironment.cpp
120120
runtime/JSGlobalObject.cpp
121-
runtime/JSGlobalObjectInlines.h
121+
[ iOS ] runtime/JSGlobalObjectInlines.h
122122
runtime/JSModuleNamespaceObject.cpp
123123
runtime/JSModuleRecord.cpp
124124
runtime/JSNativeStdFunction.h
125-
runtime/JSObject.cpp
126-
runtime/JSObject.h
127-
runtime/JSObjectInlines.h
125+
[ iOS ] runtime/JSObject.cpp
126+
[ iOS ] runtime/JSObject.h
127+
[ iOS ] runtime/JSObjectInlines.h
128128
runtime/JSSourceCode.cpp
129129
runtime/JSString.cpp
130130
runtime/JSString.h
@@ -142,32 +142,31 @@ runtime/ScopedArguments.cpp
142142
runtime/ScopedArgumentsTable.cpp
143143
runtime/ScriptExecutable.cpp
144144
runtime/SparseArrayValueMap.cpp
145-
runtime/StringPrototype.cpp
145+
[ iOS ] runtime/StringPrototype.cpp
146146
runtime/Structure.cpp
147147
runtime/Structure.h
148-
runtime/StructureArrayStorageInlines.h
149-
runtime/StructureInlines.h
148+
[ iOS ] runtime/StructureArrayStorageInlines.h
149+
[ iOS ] runtime/StructureInlines.h
150150
runtime/StructureRareData.cpp
151151
runtime/Symbol.cpp
152152
runtime/SymbolConstructor.cpp
153153
runtime/SymbolTable.cpp
154154
runtime/SyntheticModuleRecord.cpp
155155
runtime/WeakMapImpl.cpp
156-
runtime/WriteBarrier.h
157-
runtime/WriteBarrierInlines.h
156+
[ iOS ] runtime/WriteBarrier.h
157+
[ iOS ] runtime/WriteBarrierInlines.h
158158
tools/CellProfile.h
159159
tools/HeapVerifier.cpp
160-
tools/Integrity.cpp
160+
[ iOS ] tools/Integrity.cpp
161161
tools/JSDollarVM.cpp
162162
tools/VMInspector.cpp
163-
wasm/WasmCallee.cpp
163+
[ iOS ] wasm/WasmCallee.cpp
164164
wasm/WasmModule.cpp
165-
[ macOS ] wasm/WasmModuleInformation.cpp
166165
wasm/WasmOperations.cpp
167166
wasm/WasmStreamingCompiler.cpp
168167
wasm/WasmTable.cpp
169-
wasm/WasmTypeDefinition.cpp
170-
wasm/js/JSWebAssemblyArray.h
168+
[ iOS ] wasm/WasmTypeDefinition.cpp
169+
[ iOS ] wasm/js/JSWebAssemblyArray.h
171170
wasm/js/JSWebAssemblyException.cpp
172171
wasm/js/JSWebAssemblyGlobal.cpp
173172
wasm/js/JSWebAssemblyHelpers.h
@@ -176,6 +175,6 @@ wasm/js/JSWebAssemblyMemory.cpp
176175
wasm/js/JSWebAssemblyModule.cpp
177176
wasm/js/JSWebAssemblyTable.cpp
178177
wasm/js/JSWebAssemblyTag.cpp
179-
wasm/js/WebAssemblyBuiltin.cpp
178+
[ iOS ] wasm/js/WebAssemblyBuiltin.cpp
180179
wasm/js/WebAssemblyFunction.cpp
181180
wasm/js/WebAssemblyModuleRecord.cpp

‎Source/JavaScriptCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ assembler/LinkBuffer.cpp
1212
b3/B3CheckSpecial.cpp
1313
b3/B3PatchpointSpecial.cpp
1414
b3/B3Procedure.cpp
15+
[ macOS ] b3/air/AirAllocateRegistersAndStackAndGenerateCode.cpp
16+
[ macOS ] b3/air/AirGenerate.cpp
1517
bytecode/AccessCase.cpp
1618
bytecode/BytecodeDumper.cpp
1719
bytecode/CallLinkInfo.cpp
@@ -91,6 +93,7 @@ parser/Parser.h
9193
parser/SourceProvider.h
9294
parser/UnlinkedSourceCode.cpp
9395
parser/UnlinkedSourceCode.h
96+
[ macOS ] profiler/ProfilerDatabase.cpp
9497
profiler/ProfilerEvent.cpp
9598
runtime/ArrayBufferView.cpp
9699
runtime/AtomicsObject.cpp
@@ -123,7 +126,7 @@ runtime/RegExpObject.cpp
123126
runtime/SamplingProfiler.cpp
124127
runtime/ScriptExecutable.h
125128
runtime/Structure.cpp
126-
runtime/StructureInlines.h
129+
[ iOS ] runtime/StructureInlines.h
127130
runtime/SymbolTable.cpp
128131
runtime/TypeProfiler.cpp
129132
runtime/TypeProfilerLog.cpp
@@ -162,4 +165,5 @@ wasm/js/JSWebAssemblyMemory.h
162165
wasm/js/WebAssemblyFunction.cpp
163166
wasm/js/WebAssemblyFunction.h
164167
wasm/js/WebAssemblyInstanceConstructor.cpp
168+
[ macOS ] wasm/js/WebAssemblyModuleConstructor.cpp
165169
wasm/js/WebAssemblyModuleRecord.cpp
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
API/JSAPIGlobalObject.mm
2-
API/JSManagedValue.mm
2+
[ iOS ] API/JSManagedValue.mm
33
API/JSValue.mm
44
API/JSVirtualMachine.mm
55
API/ObjCCallbackFunction.mm

‎Source/WebCore/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[ iOS ] editing/cocoa/AttributedString.mm
33
[ iOS ] editing/cocoa/FontShadowCocoa.mm
44
[ iOS ] editing/cocoa/NodeHTMLConverter.mm
5-
platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm
5+
[ iOS ] platform/graphics/avfoundation/objc/MediaSampleAVFObjC.mm
66
[ iOS ] platform/ios/PlatformPasteboardIOS.mm
77
[ iOS ] platform/ios/VideoPresentationInterfaceIOS.mm
88
[ iOS ] platform/ios/wak/WebCoreThread.mm

‎Source/WebCore/SaferCPPExpectations/UncheckedCallArgsCheckerExpectations‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dom/PendingScript.cpp
1313
dom/Range.cpp
1414
dom/ShadowRoot.cpp
1515
dom/ViewTransition.cpp
16-
layout/floats/FloatingContext.cpp
16+
[ iOS ] layout/floats/FloatingContext.cpp
1717
layout/floats/PlacedFloats.cpp
1818
layout/formattingContexts/inline/InlineContentAligner.cpp
1919
layout/formattingContexts/inline/InlineContentBreaker.cpp
@@ -23,7 +23,7 @@ layout/formattingContexts/inline/InlineItemsBuilder.cpp
2323
layout/formattingContexts/inline/InlineLevelBoxInlines.h
2424
layout/formattingContexts/inline/InlineLine.cpp
2525
layout/formattingContexts/inline/InlineLineBox.cpp
26-
layout/formattingContexts/inline/InlineLineBox.h
26+
[ iOS ] layout/formattingContexts/inline/InlineLineBox.h
2727
layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
2828
layout/formattingContexts/inline/InlineLineBuilder.cpp
2929
layout/formattingContexts/inline/InlineQuirks.cpp

‎Source/WebCore/SaferCPPExpectations/UncheckedLocalVarsCheckerExpectations‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout/formattingContexts/inline/InlineLineBoxBuilder.cpp
55
layout/formattingContexts/inline/InlineLineBuilder.cpp
66
layout/formattingContexts/inline/InlineQuirks.cpp
77
layout/formattingContexts/inline/IntrinsicWidthHandler.cpp
8-
layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp
8+
[ iOS ] layout/formattingContexts/inline/TextOnlySimpleLineBuilder.cpp
99
layout/formattingContexts/inline/display/InlineDisplayContentBuilder.cpp
1010
layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp
1111
layout/integration/LayoutIntegrationBoxTreeUpdater.cpp
@@ -119,4 +119,5 @@ style/computed/StyleComputedStyleBase.cpp
119119
style/values/grid/StyleGridPositionsResolver.cpp
120120
style/values/images/kinds/StyleCanvasImage.cpp
121121
style/values/primitives/StyleLengthResolution.cpp
122+
[ macOS ] svg/SVGSVGElement.cpp
122123
workers/WorkerGlobalScope.cpp

‎Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[ macOS ] Modules/cache/DOMCacheStorage.cpp
2+
[ macOS ] Modules/mediastream/UserMediaRequest.cpp
13
StyleChangedAnimatablePropertiesGenerated.cpp
24
[ iOS ] bindings/js/ScriptController.cpp
35
css/CSSStyleProperties.cpp
@@ -17,6 +19,8 @@ dom/ViewTransition.cpp
1719
[ iOS ] page/WebKitNamespace.cpp
1820
[ iOS ] page/cocoa/ContentChangeObserver.cpp
1921
[ iOS ] platform/PreviewConverter.cpp
22+
[ macOS ] platform/graphics/filters/FilterImage.cpp
23+
[ macOS ] platform/mac/PlatformPasteboardMac.mm
2024
rendering/BackgroundPainter.cpp
2125
rendering/HitTestResult.cpp
2226
rendering/LayerAncestorClippingStack.cpp

‎Source/WebKit/SaferCPPExpectations/MemoryUnsafeCastCheckerExpectations‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[ macOS ] /Volumes/Data/analysis/webkit/WebKitBuild/WebKit.build/Release/WebKit.build/DerivedSources/WebKit-Swift-Generated.h
12
[ iOS ] Platform/cocoa/MediaCapability.mm
23
[ iOS ] Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm
34
[ iOS ] UIProcess/API/Cocoa/WKHTTPCookieStore.mm
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
[ macOS ] GPUProcess/media/RemoteAudioVideoRendererProxyManager.cpp
2+
[ macOS ] GPUProcess/media/RemoteMediaPlayerProxy.cpp
13
[ iOS ] UIProcess/API/ios/WKWebViewIOS.mm
24
[ iOS ] UIProcess/Cocoa/NavigationState.mm
5+
[ macOS ] UIProcess/Extensions/Cocoa/API/WebExtensionContextAPITabsCocoa.mm
36
[ iOS ] UIProcess/Network/NetworkProcessProxyCocoa.mm
47
[ iOS ] UIProcess/WebAuthentication/Cocoa/AuthenticatorPresenterCoordinator.mm
58
[ iOS ] UIProcess/WebAuthentication/Cocoa/WKASCAuthorizationPresenterDelegate.mm
69
[ iOS ] WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInRangeHandle.mm
710
[ iOS ] WebProcess/Inspector/WebInspectorBackendClient.cpp
811
[ iOS ] WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm
12+
[ macOS ] WebProcess/WebPage/WebPage.cpp
913
[ iOS ] WebProcess/WebPage/ios/WebPageIOS.mm

‎Source/WebKit/Shared/Foundation+Extras.swift‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ typealias URL = Foundation.URL
3434

3535
typealias String = Swift.String
3636

37+
// FIXME: (rdar://190360330) Remove @_expose(!Cxx) once the generated C++ header no longer uses generic classes without template arguments.
38+
@_expose(!Cxx)
3739
struct UncheckedSendableKeyPathBox<Root, Value>: @unchecked Sendable {
3840
let keyPath: KeyPath<Root, Value>
3941
}

0 commit comments

Comments
 (0)