|
|
|
|
|
by lbenes
2459 days ago
|
|
> a natural question would be "why are you starting a GNAT LLVM project from scratch instead of building on top of DragonEgg?". If you want to know the answer, check the file README.dragonegg in the repository! Correct me if I'm wrong, but from the README [1], the answer appears to be: > The dragonegg plugin works with gcc 4.5, 4.6, 4.7 or 4.8 But a little more digging reveals that there are patches so[2] > DragonEgg works for for GCC v8.x Lack of Google-fu or am I missing something? If they believed dragonegg is flawed, why not just lay it out? I prefer that over a goose chase that doesn't fully check out. [1] http://llvm.org/svn/llvm-project/dragonegg/trunk/README [2] https://lists.llvm.org/pipermail/llvm-dev/2017-August/116705... |
|
Essentially, Dragonegg was only ever a last-resort way to get LLVM IR. If you're trying to build a LLVM backend, you might as well emit LLVM IR directly from your frontend rather than trying to deal with a GIMPLE backend and then a GIMPLE-to-LLVM converter.