This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
在 2019/1/18 16:52, Richard Biener 写道:
I'm trying to implement safestack as an pass after expand, so i have to known where the args are lying if the composite struct param passed by reference, and i could move the arg to unsafe region. I try to not interfere the procedure of expand_call, but i can't get the accurate informations. What i'm thinking about is to get the rtxs of CALL_EXPR, and to locate the args reversely.On Fri, Jan 18, 2019 at 4:11 AM Li Kun <hw.likun@huawei.com> wrote:I need to known which rtx is expanded from a specific CALL_EXPR, how could i do ? Is INSN_LOCATION accurate enough ?No. There's no accurate way to do this so you have to invent something. Or start by explaining what you are wanting to do.
So is there any better way to make it ? Thanks a lot!
Richard.-- Best Regards Li Kun
-- Best Regards Li Kun
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |