| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-12-06 | rt: Various tweaks to make __morestack unwinding work on linux | Brian Anderson | -0/+7 | |
| When unwinding through __morestack the stack limit in the TLS is invalidated and must be reset. Instead of actually landing at __morestack we're just going to make all our Rust landing pads call upcall_reset_stack_limit, which will find the stack segment that corresponds to the current stack pointer and put the limit in the TLS. Also massively expand the stack segment red zone to make more room for the dynamic linker. Will fix in the future. | ||||
| 2011-12-06 | Make valgrind usage more consistent and less error prone. | Austin Seipp | -3/+1 | |
| I was still having issues with the build system somehow getting confused as to which set of valgrind headers to use when compiling rt. This commit moves all the valgrind headers into their own directory under rt and makes the usage more consistent. The compiler is now passed the -DNVALGRIND flag when valgrind is not installed, as opposed to passing -DHAVE_VALGRIND. We also pass -I src/rt to the compiler when building rt so you can more easily import what you want. I also cleaned up some erroneous #includes along the way. It should be safe to always just import the local valgrind headers and use them without question. NVALGRIND turns the operations to no-ops when it is active, and the build and tests run cleanly with or without. | ||||
| 2011-12-05 | rt: Use an out pointer for rust_new_stack | Brian Anderson | -4/+5 | |
| upcall_call_shim_on_c_stack does not handle return values | ||||
| 2011-12-05 | rt: Unwind through __morestack on 32-bit linux | Brian Anderson | -0/+24 | |
| 2011-12-04 | rt: Update 32-bit __morestack for recent LLVM changes | Brian Anderson | -16/+13 | |
| 2011-12-02 | rt: Implement 32-bit __morestack for mac | Brian Anderson | -21/+63 | |
| 2011-12-01 | rt: Add FIXME's about future changes to LLVM's __morestack impl | Brian Anderson | -0/+2 | |
| 2011-11-30 | rt: Reorganize stack growth code | Brian Anderson | -10/+8 | |
| 2011-11-30 | rt: Remove the stack pointer field of stk_seg | Brian Anderson | -14/+4 | |
| 2011-11-30 | rt: Remove upcall_alloc_c_stack/call_c_stack, et. al. | Brian Anderson | -46/+0 | |
| We are using upcall_call_shim_on_c_stack now | ||||
| 2011-11-30 | rt: Rewrite 32-bit __morestack to use the shim upcall | Brian Anderson | -85/+63 | |
| 2011-11-29 | rt: Request the correct number of bytes on the C stack | Brian Anderson | -1/+1 | |
| 2011-11-29 | rt: Conditionalize out the 32-bit __morestack for everything but Linux | Brian Anderson | -0/+7 | |
| Currently broken everywhere else | ||||
| 2011-11-29 | rt: Fix i386/morestack.S for static linking | Brian Anderson | -1/+2 | |
| 2011-11-28 | rt: Set hidden visibility on __morestack | Brian Anderson | -0/+9 | |
| Each crate will have its own copy of this function, which should not be exported. | ||||
| 2011-11-28 | rt: Rename L$bail to .L$bail in i386/morestack.S | Brian Anderson | -2/+2 | |
| 2011-11-22 | rt: Make __morestack build on win32 | Brian Anderson | -1/+6 | |
| 2011-11-22 | rt: Make __morestack (without unwinding) work on 32-bit linux | Brian Anderson | -19/+44 | |
| 2011-11-18 | get pure wrappers approach running | Niko Matsakis | -0/+23 | |
| 2011-11-17 | rt: Make stack growth code build on Linux | Brian Anderson | -1/+6 | |
| 2011-11-17 | rt: More work on morestack | Patrick Walton | -21/+98 | |
| 2011-11-16 | Revert "rt: More work on morestack" | Brian Anderson | -98/+21 | |
| This reverts commit 68aff2ad6d55a051e9347aa38f945d114f282691. | ||||
| 2011-11-16 | Revert "rt: Make stack growth code build on Linux" | Brian Anderson | -6/+1 | |
| This reverts commit da4b7da4e142a4c2119312c0e24b7c20bbe74e60. | ||||
| 2011-11-16 | rt: Make stack growth code build on Linux | Brian Anderson | -1/+6 | |
| 2011-11-16 | rt: More work on morestack | Patrick Walton | -21/+98 | |
| 2011-11-16 | correct alignment | Niko Matsakis | -3/+4 | |
| 2011-11-16 | begin efforts to use shim functions for c-stack calls | Niko Matsakis | -1/+17 | |
| 2011-11-14 | Revert "rt: More work on morestack" | Patrick Walton | -98/+21 | |
| This reverts commit ced0d4f15e11e2c74766d1055146946ded3fba51. | ||||
| 2011-11-14 | rt: More work on morestack | Patrick Walton | -21/+98 | |
| 2011-11-08 | correct stack alignment | Niko Matsakis | -0/+2 | |
| 2011-11-08 | cleanup, removing comments and dead code | Niko Matsakis | -31/+10 | |
| 2011-11-02 | get things checking on ia32 | Niko Matsakis | -28/+28 | |
| 2011-11-02 | do not preserve caller-saved registers | Niko Matsakis | -29/+29 | |
| 2011-10-31 | rt: Fix long lines | Patrick Walton | -6/+6 | |
| 2011-10-31 | rt: Have __morestack conform to the calling convention that LLVM generates ↵ | Patrick Walton | -9/+12 | |
| on x86 | ||||
| 2011-10-31 | Stub a __morestack implementation and stack segment allocation. Untested. | Patrick Walton | -0/+38 | |
| 2011-10-24 | fix c-stack-cdecl when used w/ i64 | Niko Matsakis | -0/+4 | |
| 2011-10-24 | switch over sqrt from llvm to c-stack-cdecl, exposing a bug in | Niko Matsakis | -0/+4 | |
| the supported return types of upcall_c_stack | ||||
| 2011-10-23 | Fix an insane rt build error running 'make check -j3' | Austin Seipp | -3/+1 | |
| 2011-10-21 | Get 'make tidy' to work rustllvm and rt again | Brian Anderson | -43/+43 | |
| 2011-10-05 | rt: Make C stack switching Valgrind-clean by warning Valgrind when we're ↵ | Patrick Walton | -1/+12 | |
| about to write to the C stack from the Rust stack | ||||
| 2011-09-30 | rt: Omit leading underscore on symbol names on Linux | Patrick Walton | -0/+5 | |
| 2011-09-29 | rt: Fix assembler for C calls to work more like a regular function call | Patrick Walton | -5/+8 | |
| 2011-09-28 | rt: Add a call stub that switches to the C stack, untested as of yet | Patrick Walton | -0/+15 | |
| 2011-09-28 | rt: Add an upcall to allocate space on the C stack. This will be used for ↵ | Patrick Walton | -9/+18 | |
| native calls on the C stack. | ||||
| 2011-09-07 | Rewrite spawn yet again | Brian Anderson | -8/+0 | |
| The motivation here is that the bottom of each stack needs to contain a C++ try/catch block so that we can unwind. This is already the case for main, but not spawned tasks. Issue #236 | ||||
| 2011-08-17 | Making more of the rust_task structure directly accessible from Rust. | Eric Holk | -0/+2 | |
| 2011-08-15 | Fixing win32 build. | Eric Holk | -1/+1 | |
| 2011-08-15 | Updating to build on Linux and Mac, and hopefully Windows too. | Eric Holk | -0/+4 | |
| 2011-08-15 | Added a library version of spawn. Before long, we can remove the old version. | Eric Holk | -15/+24 | |
