You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RewritingContext.insert_at and RewritingContext.replace_at have overloads that accept a bytes object in addition to a Patch object when targeting DataBlocks. Is this sufficient for what you're after? Or is there a reason it needs to be a Patch?
Specifically, I would like to add data with symbols (i.e labelled data) that my later patches reference, which I don't think I could achieve by just adding bytes to an existing DataBlock. Using a Patch allows me to define labelled data, which is added to the IR as DataBlocks and Symbols referencing those DataBocks. Is this possible without using a Patch?
Is there a way to insert a data-only patch? It appears that a patch requires at least one instruction currently.
The text was updated successfully, but these errors were encountered: