Skip to content

Commit 87b3d51

Browse files
committed
swift-inspect: remove obsolete workaround
`-fno-split-cold-code` should no longer be needed after llvm/llvm-project#99759. Remove the use of unsafe flags.
1 parent fd5076e commit 87b3d51

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tools/swift-inspect/Package.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ let package = Package(
2121
.target(name: "SwiftInspectClientInterface", condition: .when(platforms: [.windows])),
2222
],
2323
swiftSettings: [.unsafeFlags(["-parse-as-library"])]),
24-
.target(
25-
name: "SwiftInspectClient",
26-
// Workaround https://github.com/llvm/llvm-project/issues/40056
27-
cxxSettings: [.unsafeFlags(["-Xclang", "-fno-split-cold-code"])]),
24+
.target(name: "SwiftInspectClient"),
2825
.systemLibrary(
2926
name: "SwiftInspectClientInterface"),
3027
.testTarget(

0 commit comments

Comments
 (0)