[llvm-dev] How to use stack maps

陳韋任 via llvm-dev llvm-dev at lists.llvm.org
Sat Jan 13 17:26:35 PST 2018


> 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.
>

Quoted from ​[1],

The intrinsics documented here are currently used by the JavaScript
compiler within the open source WebKit project, see the FTL JIT, but they
are designed to be used whenever stack maps or code patching are needed.


Maybe you can look FTL JIT for example?

​[1] https://llvm.org/docs/StackMaps.html
​
HTH,
chenwj​

-- 
Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180114/7511df4c/attachment.html>


More information about the llvm-dev mailing list