Bug 41950 - Bitcode stackoverflow with even-odd.exe test
Summary: Bitcode stackoverflow with even-odd.exe test
Alias: None
Product: Runtime
Classification: Mono
Component: JIT (show other bugs)
Version: 4.5.X
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Alexander Kyte
Depends on:
Reported: 2016-06-17 17:57 UTC by Alexander Kyte
Modified: 2016-09-14 01:28 UTC (History)
3 users (show)

See Also:
Tags: bitcode_mobile_static
Is this bug a regression?: ---
Last known good build:


Description Alexander Kyte 2016-06-17 17:57:48 UTC
This test is fairly simple, and yet results in a stackoverflow.
Comment 1 Alexander Kyte 2016-06-20 18:29:22 UTC
This is due to us not handling tailcall optimizations at all with llvm. 

When trying to use the naive "-tailcallopt" with llvm, llc segfaults. This is worth returning to. I'll probably implement OP_JMP on llvm and use that path of the tailcall infrastructure.
Comment 2 Rodrigo Kumpera 2016-09-14 01:28:33 UTC
Triaging it

Note You need to log in before you can comment on or make changes to this bug.