| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-06-28 | Remove FIXME question | Tim Chevalier | -2/+0 | |
| brson said the answer to the question is probably no... so I'm going to be bold and remove this. Closes #2685 | ||||
| 2012-06-21 | Try removing code marked with "I don't think this is necessary" | Tim Chevalier | -15/+1 | |
| 2012-06-07 | rt: Remove check_stack_alignment | Brian Anderson | -20/+0 | |
| This function does not do what it tries to do and it is expensive | ||||
| 2012-04-04 | rt: Add architecture-specific general-purpose register definitions | Patrick Walton | -0/+73 | |
| This will be used for stack crawling, which in turn will be used for GC and unwinding. | ||||
| 2012-04-03 | Refactor includes structure, getting rid of rust_internal.h | Jon Morton | -12/+4 | |
| Many changes to code structure are included: - removed TIME_SLICE_IN_MS - removed sychronized_indexed_list - removed region_owned - kernel_owned move to kernel.h, task_owned moved to task.h - global configs moved to rust_globals.h - changed #pragma once to standard guard in rust_upcall.h - got rid of memory.h | ||||
| 2012-03-31 | rt: Fix whitespace | Brian Anderson | -3/+3 | |
| 2012-03-21 | rt: Shave 16 bytes off the __morestack frame | Brian Anderson | -2/+2 | |
| 2012-03-21 | rt: Shave a few instructions off __morestack | Brian Anderson | -42/+31 | |
| 2012-03-21 | rt: Add a get_sp_limit function | Brian Anderson | -0/+40 | |
| 2012-03-21 | rt: Rename record_sp to record_sp_limit | Brian Anderson | -13/+13 | |
| 2012-02-09 | rt: Use rust_task_thread's C-stack pool for native calls | Brian Anderson | -12/+0 | |
| 2012-02-09 | rt: Rename call_shim_on_c_stack to call_and_change_stacks | Brian Anderson | -2/+2 | |
| 2012-02-09 | rt: Remove unused context functions | Brian Anderson | -28/+0 | |
| 2012-01-06 | add alignment to i386 for good measure, though we do not yet | Niko Matsakis | -1/+1 | |
| save SSE regs in i386 (we ought to, though!) | ||||
| 2012-01-06 | fix alignment of registers structure | Niko Matsakis | -6/+3 | |
| 2012-01-01 | add missing library, enable segmented stacks for freebsd | Jyun-Yan You | -4/+6 | |
| 2012-01-01 | forgot to add parentheses | Jyun-Yan You | -1/+1 | |
| 2012-01-01 | freebsd support | User Jyyou | -20/+30 | |
| 2011-12-29 | Save and restore xmm regs across the call to UPCALL_NEW_STACK during ↵ | Graydon Hoare | -1/+30 | |
| __morestack, close #1388. | ||||
| 2011-12-29 | Remove obsolete comments. | Graydon Hoare | -4/+0 | |
| 2011-12-19 | rt: Rename asm_call_on_stack to __morestack | Brian Anderson | -13/+30 | |
| Newer gdb's will backtrace through functions named __morestack even if they change the stack. | ||||
| 2011-12-19 | rt: Zero the bottom frame's return address and base pointer | Brian Anderson | -2/+10 | |
| My reading of libunwind leads me to believe this is expected. Closes #1322 | ||||
| 2011-12-19 | rt: Save and restore %rax/%eax in __morestack | Brian Anderson | -3/+9 | |
| This doesn't matter now since we use an out pointer for return values but it's sure to show up mysteriously someday. | ||||
| 2011-12-19 | rt: Remove some unused stack from i386/morestack.S | Brian Anderson | -9/+9 | |
| 2011-12-19 | rt: Remove unused saves from __morestack | Brian Anderson | -10/+1 | |
| 2011-12-19 | rt: Give upcall_new_stack the same convention as other upcalls | Brian Anderson | -48/+20 | |
| 2011-12-19 | rt: Give upcall_del_stack the same convention as other upcalls | Brian Anderson | -22/+11 | |
| 2011-12-18 | rt: Add lots of documentation to __morestack | Brian Anderson | -42/+139 | |
| 2011-12-17 | rt: Use a DWARF CFI scheme that works on mac in __morestack | Brian Anderson | -24/+6 | |
| 2011-12-16 | rt: Make 32-bit morestack compatible with fastcc | Brian Anderson | -9/+18 | |
| 2011-12-16 | rt: Fix saved address of unwinding %rsp in __morestack | Brian Anderson | -1/+1 | |
| I haven't thought too deeply about this, but I think I was telling the unwinder to use the stack pointer for the wrong frame when unwinding. Not sure how that could have worked at all, but this results in the correct alignment for cleanups. | ||||
| 2011-12-16 | rt: Fix alignment of the call to upcall_del_stack in __morestack | Brian Anderson | -2/+7 | |
| 2011-12-16 | rt: Insert stack alignment checks into upcalls | Brian Anderson | -1/+21 | |
| 2011-12-13 | rt: Add a FIXME to 32-bit __morestack about trashing %eax | Brian Anderson | -1/+2 | |
| 2011-12-13 | rt: Use %ecx instead of %eax during the second half of __morestack | Brian Anderson | -3/+5 | |
| If Rust code made use of return values then using %eax here would clobber it | ||||
| 2011-12-13 | rt: Don't clobber fastcc argument registers in __morestack | Brian Anderson | -12/+15 | |
| 2011-12-12 | rt: Remove some duplicated code from 64-bit __morestack | Brian Anderson | -12/+0 | |
| 2011-12-12 | rt: Make unwinding through __morestack work on mac | Brian Anderson | -3/+1 | |
| Had to bump the min stack size in some of the tests from 256 bytes to 1024 bytes. Not sure why yet. | ||||
| 2011-12-12 | rt: Write CFI instructions that (might) work on mac in __morestack | Brian Anderson | -0/+14 | |
| The DW_CFA_val_offset_sf instruction doesn't seem to work on mac, even after implementing it in the llvm-mc assembler, so now I'm looking for a different way to communicate the stack pointer adjustment to the unwinder. | ||||
| 2011-12-11 | rt: Make unwinding through __morestack work on mac | Brian Anderson | -18/+6 | |
| Had to bump the min stack size in some of the tests from 256 bytes to 1024 bytes. Not sure why yet. | ||||
| 2011-12-11 | rt: Write CFI instructions that (might) work on mac in __morestack | Brian Anderson | -11/+35 | |
| The DW_CFA_val_offset_sf instruction doesn't seem to work on mac, even after implementing it in the llvm-mc assembler, so now I'm looking for a different way to communicate the stack pointer adjustment to the unwinder. | ||||
| 2011-12-11 | rt: Add DWARF CFI info to asm_call_on_stack | Brian Anderson | -16/+57 | |
| This will allow the unwinder to unwind this function so we can call upcall_fail on the C stack. | ||||
| 2011-12-10 | build: Use llvm-mc as our assembler | Brian Anderson | -4/+8 | |
| LLVM's assembler understands .cfi pseudo-ops on the mac, which we need in order to generate frames that can be DWARF-unwound | ||||
| 2011-12-08 | rt: Make __morestack work on win32 | Brian Anderson | -10/+8 | |
| 2011-12-06 | rt: Various tweaks to make __morestack unwinding work on linux | Brian Anderson | -0/+18 | |
| 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 | -8/+2 | |
| 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 | -5/+10 | |
| 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 | |
