harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zouqiong <ust...@gmail.com>
Subject Re: [drlvm][opt] How to get object access sequence during runtime.
Date Thu, 25 Jan 2007 02:44:43 GMT
> You are right. If the only change you do is a new extra call in translator
> it will limit optimizations. The best place to add tracing calls could be
> hir2lir conversion, after all HLO optimizations were finished, but in this
> case your helper can't be inlined.
> If you want your helper to be inlined try to add additional 'getfield'
> instrumentation pass into the middle of optimizer's pipeline: after
> inliner
> and memopt.
> --
> Mikhail Fursov
> I think I can directly instrument code to trace the object, not by
instrumenting call instruction.

What do you mean by HLO optimization? I instrument at Code Selector Pass and
now I can trace getfield and aaload.

Best Regards,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message