Make llgo buildable with current LLVM.
Some caveats:
- No compiler-rt support for now (That may be fixed soon, depending on other factors).
- No test coverage either as I'm not familiar with LLGO test structure enough.
Differential D56638
[llgo]: Somewhat revive it and make it buildable with current trunk. kristina on Jan 12 2019, 8:16 AM. Authored by
Details Make llgo buildable with current LLVM. Some caveats:
Diff Detail
Event TimelineComment Actions For testing -fsplit-stack you probably want to add a test under llgo/test/irgen. They are standard lit tests.
Comment Actions Currently actual tests would require using libgcc, as compiler-rt does not support split stack yet. If libgcc is required for tests then I don't think I can accurately make one. So if you require a test for this, it's likely that I'll have to mark this as "Changes Planned" for now until compiler-rt is sufficient to link this, unfortunately. Up to you really, though in my opinion even without tests this is better than it failing to compile. And the reasons for avoiding libgcc are fairly complicated, my intentions currently are to stay as far away from GNU runtime components as possible.
Comment Actions LGTM
|