Re: [PATCH 2/3] Add patch_area_size and patch_area_entry to cfun

2020-02-05 Thread Richard Sandiford
"H.J. Lu" writes: > Currently patchable area is at the wrong place. Agreed :-) > It is placed immediately > after function label and before .cfi_startproc. A backend should be able > to add a pseudo patchable area instruction durectly into RTL. This patch > adds patch_area_size and patch_area_

[PATCH 2/3] Add patch_area_size and patch_area_entry to cfun

2020-02-05 Thread H.J. Lu
Currently patchable area is at the wrong place. It is placed immediately after function label and before .cfi_startproc. A backend should be able to add a pseudo patchable area instruction durectly into RTL. This patch adds patch_area_size and patch_area_entry to cfun so that the patchable area