about summary refs log tree commit diff
path: root/src/rt/arch
AgeCommit message (Collapse)AuthorLines
2011-12-06Make 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-05rt: Use an out pointer for rust_new_stackBrian Anderson-5/+10
upcall_call_shim_on_c_stack does not handle return values
2011-12-05rt: Unwind through __morestack on 32-bit linuxBrian Anderson-0/+24
2011-12-04rt: Update 32-bit __morestack for recent LLVM changesBrian Anderson-16/+13
2011-12-02rt: Implement 32-bit __morestack for macBrian Anderson-21/+63
2011-12-02rt: Fix __morestack prologue on x86_64 macBrian Anderson-1/+1
2011-12-01rt: Fix 64-bit linux __morestackBrian Anderson-2/+26
2011-12-01rt: Implement __morestack for 64-bit mac. Doesn't unwind yetBrian Anderson-10/+5
2011-12-01rt: Implement record_sp for 64-bit macBrian Anderson-1/+8
2011-12-01rt: Add FIXME's about future changes to LLVM's __morestack implBrian Anderson-0/+2
2011-11-30rt: Reorganize stack growth codeBrian Anderson-22/+20
2011-11-30rt: Remove redundant defs of RUST_DEL_STACKBrian Anderson-2/+0
2011-11-30rt: Remove the stack pointer field of stk_segBrian Anderson-28/+7
2011-11-30rt: Remove upcall_alloc_c_stack/call_c_stack, et. al.Brian Anderson-114/+0
We are using upcall_call_shim_on_c_stack now
2011-11-30rt: Rewrite 32-bit __morestack to use the shim upcallBrian Anderson-85/+63
2011-11-29rt: Request the correct number of bytes on the C stackBrian Anderson-1/+1
2011-11-29rt: Conditionalize out the 32-bit __morestack for everything but LinuxBrian Anderson-0/+7
Currently broken everywhere else
2011-11-29rt: Fix the name of the linux macro in x86_64/morestack.SBrian Anderson-1/+1
2011-11-29rt: Fix calculation of stack args location in x86_64/morestack.SBrian Anderson-3/+4
2011-11-29rt: Fix i386/morestack.S for static linkingBrian Anderson-1/+2
2011-11-28rt: Make 64-bit __morestack grow and shrink properlyBrian Anderson-6/+47
2011-11-28rt: Remove a FIXME frome x86_64/morestack.SBrian Anderson-1/+0
2011-11-28rt: Get 64-bit Linux __morestack allocating new stacksBrian Anderson-5/+10
2011-11-28rt: Set hidden visibility on __morestackBrian Anderson-0/+18
Each crate will have its own copy of this function, which should not be exported.
2011-11-28rt: Rename L$bail to .L$bail in i386/morestack.SBrian Anderson-2/+2
2011-11-28rt: Implement part of the 64-bit __morestackBrian Anderson-20/+42
2011-11-27rt: Implement record_sp for 64-bit linuxBrian Anderson-0/+5
2011-11-22rt: Make __morestack build on win32Brian Anderson-1/+6
2011-11-22rt: Add x86_64 record_sp stubBrian Anderson-0/+12
2011-11-22rt: Make __morestack (without unwinding) work on 32-bit linuxBrian Anderson-19/+44
2011-11-18get pure wrappers approach runningNiko Matsakis-0/+45
2011-11-17add an extra underscoreNiko Matsakis-1/+1
2011-11-17rt: Make morestack link on x86_64. Still utterly brokenBrian Anderson-4/+10
2011-11-17rt: Make stack growth code build on LinuxBrian Anderson-1/+6
2011-11-17rt: More work on morestackPatrick Walton-21/+98
2011-11-16Revert "rt: More work on morestack"Brian Anderson-98/+21
This reverts commit 68aff2ad6d55a051e9347aa38f945d114f282691.
2011-11-16Revert "rt: Make stack growth code build on Linux"Brian Anderson-6/+1
This reverts commit da4b7da4e142a4c2119312c0e24b7c20bbe74e60.
2011-11-16rt: Make stack growth code build on LinuxBrian Anderson-1/+6
2011-11-16rt: More work on morestackPatrick Walton-21/+98
2011-11-16Various fixes for x86_64 on linuxBrian Anderson-1/+1
Configure LLVM correctly, use the right data layout, add the readlink function back, fix C constants, etc.
2011-11-16add shim upcall funcNiko Matsakis-0/+16
2011-11-16correct alignmentNiko Matsakis-3/+4
2011-11-16begin efforts to use shim functions for c-stack callsNiko Matsakis-1/+17
2011-11-14Revert "rt: More work on morestack"Patrick Walton-98/+21
This reverts commit ced0d4f15e11e2c74766d1055146946ded3fba51.
2011-11-14rt: More work on morestackPatrick Walton-21/+98
2011-11-09hack around the problem that x86_64 expects first few args in regs.Niko Matsakis-3/+38
call on c-stack expects all data to be delivered on the stack.
2011-11-09use uint64_t when adjusting stack ptrNiko Matsakis-2/+2
2011-11-08correct stack alignmentNiko Matsakis-59/+60
2011-11-08cleanup, removing comments and dead codeNiko Matsakis-31/+10
2011-11-08fix bug in loading argument regsNiko Matsakis-2/+2