logoalt Hacker News

mwkaufmayesterday at 11:35 PM1 replyview on HN

TL;DR compile with a fork of LLVM that enables runtime IR tracing. Very clever!


Replies

measurablefunctoday at 4:20 AM

That's not what they're doing. They're directly modifying the IR to convert it into a tracing JIT. The final artifact is a binary w/ no IR. The problem is of course not introducing any subtle bugs in the process b/c they'd have to prove the modification they're making do not change actual runtime semantics for the final binary artifact.