<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Well for my designed use case I plan to use it to interpret IR in production environment. As such I remember there were quite some issues with it, on top of my head is support for var_arg native function calling<br><br><div id="AppleMailSignature" dir="ltr">Zhang</div><div dir="ltr"><br>在 2019年3月4日,08:21,Alberto Barbaro <<a href="mailto:barbaro.alberto@gmail.com">barbaro.alberto@gmail.com</a>> 写道:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="auto">Hi,<div dir="auto">I my case I needed to trace the execution of a specific .ll file. I wanted to know when a store and load instruction were executed. Maybe extending the Interpreter class was not the best option so I'm happy to hear suggestions.</div><div dir="auto"><br></div><div dir="auto">As a curiosity, why do you think that class should be rewritten?</div><div dir="auto"><br></div><div dir="auto">Thanks</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 4, 2019, 08:15 <a href="http://mayuyu.io">mayuyu.io</a> <<a href="mailto:admin@mayuyu.io">admin@mayuyu.io</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I dont quite understand the meaning of making almost all the visit methods, care to explain?<br>
<br>
On a side note, last time I checked that part I think it probably needs a full rewrite from ground up IMHO<br>
<br>
Zhang<br>
<br>
> 在 2019年3月4日,08:06,Alberto Barbaro via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" rel="noreferrer">llvm-dev@lists.llvm.org</a>> 写道:<br>
> <br>
> Hi,<br>
> I going through the Interpreter class source code and I think making almost all the visit methods (maybe not visitInstruction yet) would really help anybody that wants to create any sort of tracer or similar. Would be a patch in this case worthy?<br>
> <br>
> Thanks<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" rel="noreferrer">llvm-dev@lists.llvm.org</a><br>
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br>
<br>
<br>
</blockquote></div>
</div></blockquote></body></html>