<div dir="ltr">Hi,<div>  I implemented a garbage collector for a language I wrote in college using the llvm gc statepoint infrastructure. <br><br>Information for statepoints:</div><div><a href="https://llvm.org/docs/Statepoints.html">https://llvm.org/docs/Statepoints.html</a><br><br>Example usage of parsing the llvm stackmap can be found at:</div><div> <a href="https://github.com/dotnet/llilc/blob/master/lib/GcInfo/GcInfo.cpp">https://github.com/dotnet/llilc/blob/master/lib/GcInfo/GcInfo.cpp</a></div><div> <a href="https://llvm.org/docs/StackMaps.html#stackmap-format">https://llvm.org/docs/StackMaps.html#stackmap-format</a><br></div><div> <a href="https://github.com/llvm-mirror/llvm/blob/4604874612fa292ab4c49f96aedefdf8be1ff27e/include/llvm/Object/StackMapParser.h">https://github.com/llvm-mirror/llvm/blob/4604874612fa292ab4c49f96aedefdf8be1ff27e/include/llvm/Object/StackMapParser.h</a><br></div><div><br></div><div>Thanks,</div><div> River Riddle</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 13, 2018 at 10:02 AM, benzrf via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Is there an explanation anywhere of what code that uses a stack map looks like? I'm interested in writing a garbage collector, but it's not clear to me how my code should make use of the stack map format to actually locate roots in memory.<br></div>
<br>______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
<br></blockquote></div><br></div>