Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SharedCache] Inline CFStrings #6302

Closed
wants to merge 1 commit into from

Conversation

WeiN76LQh
Copy link

Basically just copied from the workflow objc plugin with PR #67 applied.

Ideally this would not be a copy and these 2 codebases would share the code but its unclear if Vector35 would want to import the Objective-C workflow plugin into the BN API repo and what that would look like. So this is an intermediary solution to get CFString inlining working in DSC.

Basically just copied from the [workflow objc plugin](https://github.com/Vector35/workflow_objc) with [PR Vector35#67](Vector35/workflow_objc#67) applied.

Ideally this would not be a copy and these 2 codebases would share the code but its unclear if Vector35 would want to import the Objective-C workflow plugin into the BN API repo and what that would look like. So this is an intermediary solution to get `CFString` inlining working in DSC.
@0cyn
Copy link
Member

0cyn commented Jan 4, 2025

While I'd eventually like to add functionality used in workflow-objc here, we're looking to use a different approach for CFString inlining and other objc representations. (see pseudo-language representation stuff added in latest major release).

The CFString inlining approach used in the old workflow was very hacky and it's actually disabled currently due to causing a lot of problems with IL output since we were misusing intrinsic pretty badly. I think the current variable naming approach should be sufficient for now.

Thank you for this PR though!

@0cyn 0cyn closed this Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants