Skip to content
Success

Changes

Summary

  1. build: Fix CMake build by adding missing source file (#1239) (details)
Commit 769081929d3bc303b33374849c4df6cf80b3f7cd by github
build: Fix CMake build by adding missing source file (#1239)

Follow-up to 63cfcb9bfde8153a9f385f60ee437fc45912a1dc
The file was modified Sources/FoundationEssentials/Formatting/CMakeLists.txt (diff)

Summary

  1. Switch to ProjectModel API in the new SwiftBuildSupport PIF builder (#8441) (details)
Commit c8d439a2ccc679477165d6dc992ef4a44b23b77c by github
Switch to ProjectModel API in the new SwiftBuildSupport PIF builder (#8441)

### Motivation:

The goal is to adopt the new `SwiftBuild.ProjectModel` API. This new API
provides a *typesafer* and *modern* way of building PIFs
programmatically.

This continues the work I started in PR #8405, introducing now our new
PIF builder for packages.

### Modifications:

Replaces all `SwiftBuild.PIF` (aka, `SWBProjectModel.PIF`) API usage, in
`PackagePIFBuilder`, with the new `SwiftBuild.ProjectModel` API instead.

### Result:

`PackagePIFBuilder` is now modernized... but still not actually used.
This will come in my next pull request.

Tracked by rdar://147526957.
The file was modified Sources/SwiftBuildSupport/PIFBuilder.swift (diff)
The file was modified Sources/SwiftBuildSupport/PackagePIFProjectBuilder.swift (diff)
The file was modified Sources/SwiftBuildSupport/PackagePIFBuilder+Helpers.swift (diff)
The file was modified Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Products.swift (diff)
The file was modified Sources/SwiftBuildSupport/PackagePIFBuilder.swift (diff)
The file was modified Sources/SwiftBuildSupport/PackagePIFBuilder+Plugins.swift (diff)
The file was modified Sources/SwiftBuildSupport/PackagePIFProjectBuilder+Modules.swift (diff)

Summary

  1. [clang][deps] Respect `Lexer::cutOffLexing()` (#134404) (details)
  2. [lldb] Make `RegisterContextThreadMemory` thread safe (#134469) (details)
Commit dc75f74fb0d46181a8ccfa853fbab52612acb703 by jan_svoboda
[clang][deps] Respect `Lexer::cutOffLexing()` (#134404)

This is crucial when recovering from fatal loader errors. Without it,
the `Lexer` keeps yielding more tokens and the compiler may access
invalid `ASTReader` state.

rdar://133388373
(cherry picked from commit cde90e68f8123e7abef3f9e18d79980aa19f460a)
The file was addedclang/test/ClangScanDeps/modules-relocated-mm-macro.c
The file was modified clang/lib/Lex/Lexer.cpp (diff)
Commit 8f4b8191283fae72732d0785d3e77a1749a53b3f by fpiovezan
[lldb] Make `RegisterContextThreadMemory` thread safe (#134469)

The UpdateRegisterContext method can be called from multiple threads.

(cherry picked from commit 6272e1f37e0710b51d38cb98b905a3f2ffea7966)
The file was modified lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.h (diff)
The file was modified lldb/source/Plugins/Process/Utility/RegisterContextThreadMemory.cpp (diff)