by emailgregn · 10y ago · 0 comments
Real problem with your scheme is that the typing and structure are important to effectively using Rust. Those that you get in LLVM will be nothing like what you would want in Rust and you'll need additional information. In other words, source to source with annotations is a better option.
Whether the C side IR has enough debug metadata or could be annotated automatically would be the make or break.