about summary refs log tree commit diff
AgeCommit message (Collapse)AuthorLines
2011-12-07Make typestate properly descend pattern guardsMarijn Haverbeke-0/+10
Closes #1265
2011-12-06rt: Put 16 guard bytes at the end of the stackBrian Anderson-2/+15
2011-12-06rt: Rename stk_seg.limit to stk_seg.endBrian Anderson-9/+8
rust_task is using the word limit it two ways, so one has to change.
2011-12-06rt: Reorganize rust_upcall.cpp a bitBrian Anderson-32/+36
2011-12-06rt: Convert log_type and cmp_type upcalls to shim formBrian Anderson-10/+39
2011-12-06rt: Move upcall_cmp_type/upcall_log_type to rust_upcall.cppBrian Anderson-4/+24
2011-12-06modify upcalls to take structs as argsNiko Matsakis-84/+252
2011-12-06fix hash function: + binds tighter than <<Niko Matsakis-1/+4
2011-12-06hack for now: map uint hashes into a u32, which helps x86_64 perf.Niko Matsakis-8/+12
2011-12-06do not stringify AST nodes unless emitting commentsNiko Matsakis-2/+6
2011-12-06helpful targetsNiko Matsakis-3/+15
2011-12-06Merge branch 'master' of github.com:graydon/rustNiko Matsakis-6/+65
2011-12-06Fix condition in snapshot script. Argv is never 2 long, it can be 3 or 4.Graydon Hoare-1/+1
2011-12-06rt: Various tweaks to make __morestack unwinding work on linuxBrian Anderson-6/+65
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-06Merge branch 'master' of github.com:graydon/rustNiko Matsakis-37/+58
2011-12-06Add --no-core option and inject a use core/import core::* pair into crate ↵Graydon Hoare-0/+33
unless it's given.
2011-12-06Fix next-node-id "hackasaurus" in comp/front/test.rs.Graydon Hoare-37/+25
2011-12-06Merge branch 'master' of github.com:graydon/rustNiko Matsakis-117/+677
2011-12-06libstd: Update docsBrian Anderson-13/+178
2011-12-06Rename --noverify flag to --no-verify.Graydon Hoare-3/+3
2011-12-06Establish 'core' library separate from 'std'.Graydon Hoare-33/+117
2011-12-06Make valgrind usage more consistent and less error prone.Austin Seipp-14/+8
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-05test: More tests for unwinding + morestackBrian Anderson-3/+43
2011-12-05rt: Make stack unwinding work more correctly with stack growthBrian Anderson-2/+40
2011-12-05test: Test hitting the dynamic linker in the red zoneBrian Anderson-3/+91
2011-12-05rt: Use an out pointer for rust_new_stackBrian Anderson-14/+31
upcall_call_shim_on_c_stack does not handle return values
2011-12-05correct the use of 'sed -i'Niko Matsakis-3/+4
2011-12-05test: Add more tests for stack growthBrian Anderson-3/+137
2011-12-05rt: Unwind through __morestack on 32-bit linuxBrian Anderson-0/+24
2011-12-05rustc: Remove whitespaceBrian Anderson-1/+1
2011-12-05rustc: Add suffix ".rc" to LLVM module identifierHaitao Li-1/+19
LLVM code generator emits the ".file filename" directive for ELF backends. Value of the "filename" is set as the LLVM module identifier. Due to a LLVM MC bug[1], LLVM crashes if the module identifer is same as other symbols such as a function name in the module. This patch adds a ".rc" suffix (means crates) to LLVM module identifier to workaround the bug. Fixes issue #1251. 1. http://llvm.org/bugs/show_bug.cgi?id=11479
2011-12-04rt: Update 32-bit __morestack for recent LLVM changesBrian Anderson-20/+24
2011-12-05typeck: Fix for #932Stefan Plantikow-0/+18
2011-12-04configure: LLVM 3.0 no longer supportedBrian Anderson-1/+1
2011-12-04Upgrade LLVM to svn revision 145779Brian Anderson-65/+33
This pulls in commits 145765 & 145766, which are required for split stacks.
2011-12-05rustc: Fix memory leak in do-while loopHaitao Li-2/+13
Issue #1257
2011-12-03Fix definition of check-stageN-all targetsBrian Anderson-1/+1
2011-12-02make check test stage3Niko Matsakis-1/+1
2011-12-02make "check" match "all": only the host tripleNiko Matsakis-9/+25
2011-12-02adopt -H-all conventionNiko Matsakis-1/+1
2011-12-02make convenient rustc targetsNiko Matsakis-2/+20
2011-12-02add --host-tripleNiko Matsakis-1/+11
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-02build: added CFG_INSTALL_SNAP for automatically activating test snapshotsStefan Plantikow-2/+41
This is only guaranteed to work when building in the top-level dir
2011-12-02const_check: trans: added support for trivial castsStefan Plantikow-0/+26
Part of #1215
2011-12-02doc: added definition of trivial casts to specStefan Plantikow-3/+8
(cf @ignored Expr.Be and #1215 for intended use)
2011-12-02parse: typeck: enabling trivial casts of tail-call return valuesStefan Plantikow-47/+124
introduces ctypes::m_* machine type aliases for int, uint, float depending on cfg(target_arch) that are used in tests
2011-12-02ty: trans: added support for dropping trivial castsStefan Plantikow-5/+33
2011-12-02ty: added type comparison that subs prim types with targ_cfg machine typesStefan Plantikow-0/+37