Skip to content

Remove deprecated LinkerScriptRule::(add|remove|update)Chunk APIs#1120

Draft
Steven6798 wants to merge 2 commits intoqualcomm:mainfrom
Steven6798:fix-issue-532
Draft

Remove deprecated LinkerScriptRule::(add|remove|update)Chunk APIs#1120
Steven6798 wants to merge 2 commits intoqualcomm:mainfrom
Steven6798:fix-issue-532

Conversation

@Steven6798
Copy link
Copy Markdown

@Steven6798 Steven6798 commented Apr 30, 2026

This closes #532

According to Parth:

We should the deprecated remove eld::plugin::LinkerScriptRule::(add|remove|update)Chunk(s?) APIs as we cannot record the plugin actions if these APIs are used -- LinkerWrapper is not accessible within these APIs.

Comment thread lib/LinkerWrapper/PluginADT.cpp
@quic-seaswara quic-seaswara requested a review from parth-07 April 30, 2026 16:33
@quic-shaksuma
Copy link
Copy Markdown
Contributor

@Steven6798 please add a more descriptive commit msg

Copy link
Copy Markdown
Contributor

@parth-07 parth-07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good to me. Can you please verify that these APIs are not used / mentioned in the plugin framework documentation?

@Steven6798
Copy link
Copy Markdown
Author

The change looks good to me. Can you please verify that these APIs are not used / mentioned in the plugin framework documentation?

I will look into this. Thanks for the feedback.

@Steven6798 Steven6798 requested a review from parth-07 May 4, 2026 14:49
@Steven6798 Steven6798 self-assigned this May 4, 2026
@Steven6798 Steven6798 added this to the 2026/Q02 milestone May 4, 2026
Copy link
Copy Markdown
Contributor

@parth-07 parth-07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please address the @quic-shaksuma review for improving the commit message? In particular, commit title should be improved. 'Removed deprecated APIs' can be made more precise by changing it to perhaps 'Remove deprecated LinkerScriptRule::(add|remove|update)Chunk APIs'

@Steven6798 Steven6798 changed the title Removed deprecated APIs Remove deprecated LinkerScriptRule::(add|remove|update)Chunk APIs May 5, 2026
@Steven6798 Steven6798 requested a review from parth-07 May 5, 2026 14:25
@Steven6798 Steven6798 requested a review from quic-seaswara May 5, 2026 14:30
Copy link
Copy Markdown
Contributor

@parth-07 parth-07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Steven6798 Please change the commit title, instead of just changing the PR title.

@Steven6798
Copy link
Copy Markdown
Author

@Steven6798 Please change the commit title, instead of just changing the PR title.

Done. Thanks for the help. Let me know if I need anything else.

@Steven6798 Steven6798 requested a review from parth-07 May 5, 2026 19:02
@Steven6798 Steven6798 marked this pull request as draft May 6, 2026 14:06
@Steven6798 Steven6798 marked this pull request as draft May 6, 2026 14:06
Steven6798 added 2 commits May 6, 2026 13:20
Signed-off-by: Steven Ramirez Rosa <ramirezr@qti.qualcomm.com>
…move|update)Chunk APIs

Signed-off-by: Steven Ramirez Rosa <ramirezr@qti.qualcomm.com>
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.

Remove deprecated eld::plugin::LinkerScriptRule::(add|remove|update)Chunk(s?) APIs

5 participants