| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Change the setup so that rust_activate_glue returns to rust_exit_task_glue | Rafael Ávila de Espíndola | 2011-05-05 | 1 | -38/+19 |
| | | | | | | | | | | | | and rust_exit_task_glue calls the rust main. This is simpler since we only need to setup one frame. It also matches what ld.so does, so gdb is happy and stops a backtrace at rust_exit_task_glue instead of continuing past whatever function happened to be before rust_exit_task_glue is the object file. This is the rt part and should be merged after the rust0 part. | ||||
| * | Register new stage0 snapshots. | Graydon Hoare | 2011-05-05 | 1 | -0/+5 |
| | | |||||
| * | Change the setup so that rust_activate_glue returns to rust_exit_task_glue | Rafael Ávila de Espíndola | 2011-05-05 | 1 | -16/+17 |
| | | | | | | | | | | | | and rust_exit_task_glue calls the rust main. This is simpler since we only need to setup one frame. It also matches what ld.so does, so gdb is happy and stops a backtrace at rust_exit_task_glue instead of continuing past whatever function happened to be before rust_exit_task_glue is the object file. This is only the rustc changes and should be merged first. | ||||
| * | rustc: Add Rust intrinsic support to the crate metadata reader and writer | Patrick Walton | 2011-05-05 | 2 | -3/+7 |
| | | |||||
| * | Attempt to fix fs.dirname harder. | Graydon Hoare | 2011-05-05 | 3 | -7/+4 |
| | | |||||
| * | rustc: Fix bug in equal_abi that was preventing Rust intrinsics from working | Patrick Walton | 2011-05-05 | 1 | -0/+6 |
| | | |||||
| * | Because good hackers at least check to see if the code compiles. | Graydon Hoare | 2011-05-05 | 1 | -2/+2 |
| | | |||||
| * | Fix assumption that only os_fs.path_sep can separate paths, sigh. | Graydon Hoare | 2011-05-05 | 1 | -1/+7 |
| | | |||||
| * | Add --help, --version and -v flags (not yet supporting GIT_REV env var, ↵ | Graydon Hoare | 2011-05-05 | 1 | -4/+23 |
| | | | | | waiting on snapshot). | ||||
| * | rustc: Link with intrinsics.bc; change intrinsics linkage to linkonce_odr | Patrick Walton | 2011-05-05 | 4 | -3/+32 |
| | | |||||
| * | rustc: Add a binding to LLVM's bitcode parser | Patrick Walton | 2011-05-05 | 4 | -0/+18 |
| | | |||||
| * | Enforce in typechecker that preds return a bool | Tim Chevalier | 2011-05-05 | 2 | -1/+14 |
| | | | | | as well as a test case | ||||
| * | Test cases for pred / check stuff | Tim Chevalier | 2011-05-05 | 8 | -3/+57 |
| | | |||||
| * | Bring back "pred" syntax for writing predicates for check | Tim Chevalier | 2011-05-05 | 7 | -22/+155 |
| | | | | | | | | | | | This commit reinstates the requirement that the predicate in a "check" must be a manifest call to a special kind of function declared with the new "pred" keyword instead of "fn". Preds must have a boolean return type and can only call other preds; they can't have any effects (as enforced by the typechecker). The arguments to a predicate in a check expression must be slot variables or literals. | ||||
| * | Check well-formedness of constraints | Tim Chevalier | 2011-05-05 | 4 | -6/+63 |
| | | | | | | | Check that the operand in a constraint is an explicit name, and that the operands are all local variables or literals. Still need to check that the name refers to a pure function. | ||||
| * | Change checks to asserts in test/bench files | Tim Chevalier | 2011-05-05 | 2 | -6/+6 |
| | | |||||
| * | Check that the operand in a check is a call | Tim Chevalier | 2011-05-05 | 3 | -8/+28 |
| | | | | | | | In addition, fix bug in fold that was turning asserts into checks. More typechecking still needs to be done. | ||||
| * | Un-XFAILed not-a-pred in stage0 (it fails correctly) | Tim Chevalier | 2011-05-05 | 1 | -3/+0 |
| | | |||||
| * | Remove 'deprecated mutable...' from our code | Marijn Haverbeke | 2011-05-05 | 15 | -43/+43 |
| | | | | | This should make compilation a bit less noisy. | ||||
| * | Return a fresh, unreachable context after ret, break, and cont | Marijn Haverbeke | 2011-05-05 | 2 | -6/+2 |
| | | | | | | | | | | This ensures we don't get compile errors on unreachable code (see test/run-pass/artificial-block.rs for an example of sane code that wasn't compiling). In the future, we might want to warn about non-trivial code appearing in an unreachable context, and/or avoid generating unreachable code altogether (though I'm sure LLVM will weed it out as well). | ||||
| * | Eradicate fold from capture.rs | Marijn Haverbeke | 2011-05-05 | 1 | -59/+54 |
| | | | | | The pass now uses walk. | ||||
| * | Mark valgrind's _qzz_res as unused to silence warnings on gcc 4.6. | Ralph Giles | 2011-05-05 | 2 | -18/+18 |
| | | | | | | | | | | | | This applies c11675 by Julian Seward from valgrind trunk (svn://svn.valgrind.org/valgrind/trunk) to rustrt's included copies of memcheck.h and valgrind.h, effectively backporting the fix from the unreleased 3.6.2. The commit simply applies the gcc 'unused' attribute to the relevant declarations. This change allows compilation of the runtime code under gcc 4.6 with -Werror, as the makefile currently requests. | ||||
| * | rustc: Add a Link module; move crate writing to it to slim down trans slightly | Patrick Walton | 2011-05-05 | 5 | -173/+197 |
| | | |||||
| * | rustllvm: Add bindings to the LLVM linker | Patrick Walton | 2011-05-04 | 3 | -3/+22 |
| | | |||||
| * | rustllvm: Whitespace police in RustWrapper.cpp | Patrick Walton | 2011-05-04 | 1 | -2/+4 |
| | | |||||
| * | rustc: Detect the system root and allow the user to override if necessary | Patrick Walton | 2011-05-04 | 2 | -4/+22 |
| | | |||||
| * | Add #env syntax extension for plucking strings out of the compilation ↵ | Graydon Hoare | 2011-05-04 | 3 | -0/+76 |
| | | | | | environment. | ||||
| * | Re-snapshot to pick up fixed crasher bugs in resolve and performance ↵ | Graydon Hoare | 2011-05-04 | 1 | -0/+5 |
| | | | | | improvements. | ||||
| * | build: Build intrinsics.bc | Patrick Walton | 2011-05-04 | 1 | -1/+1 |
| | | |||||
| * | Fix and re-enable destructors | Marijn Haverbeke | 2011-05-05 | 1 | -6/+7 |
| | | | | | | | | There was some confusion on whether the destructors took their argument by pointer or direct value. They now take it directly, just like other methods. You no longer get a segfault when a constructor actually does something with its self value. | ||||
| * | Add a structure for passing option flags around the compiler, put it in ↵ | Graydon Hoare | 2011-05-04 | 5 | -87/+106 |
| | | | | | session, and use it. | ||||
| * | Add missing ret statements to check_mod | Brian Anderson | 2011-05-04 | 7 | -12/+4 |
| | | | | | Un-XFAIL compile-fail export tests | ||||
| * | Support new -g flag, only mangle glue names by type when it's passed. | Graydon Hoare | 2011-05-04 | 2 | -18/+30 |
| | | |||||
| * | More export XFAILs. | Graydon Hoare | 2011-05-04 | 2 | -0/+6 |
| | | |||||
| * | Re-snapshot stage0 | Graydon Hoare | 2011-05-04 | 1 | -0/+5 |
| | | |||||
| * | XFAIL some compile-fail tests mysteriously failing on win32 tinderbox. | Graydon Hoare | 2011-05-04 | 4 | -0/+12 |
| | | |||||
| * | extend xfail-stage0 to stage1, stage2 on obj-dtor-2.rs | Graydon Hoare | 2011-05-04 | 1 | -1/+3 |
| | | |||||
| * | Change two compile-fail patterns to match rustc output. | Graydon Hoare | 2011-05-04 | 2 | -2/+2 |
| | | |||||
| * | Try to fail nicely, again. | Graydon Hoare | 2011-05-04 | 2 | -2/+2 |
| | | |||||
| * | Fail in a slightly more organized fashion for now. | Graydon Hoare | 2011-05-04 | 1 | -4/+2 |
| | | |||||
| * | rustc: Stub Rust intrinsics. We check in the .ll file for now to temporarily ↵ | Patrick Walton | 2011-05-03 | 2 | -0/+74 |
| | | | | | dodge a dependency on clang. | ||||
| * | Assume xfail-stage0 implies stage1 and stage2 in tests, for now. | Graydon Hoare | 2011-05-03 | 99 | -0/+198 |
| | | |||||
| * | rustc: Stub support for Rust intrinsics | Patrick Walton | 2011-05-03 | 4 | -28/+61 |
| | | |||||
| * | Revert "Rename the "llvm" API to "llvm-intrinsic"" due to tinderbox bustage | Patrick Walton | 2011-05-03 | 3 | -3/+2 |
| | | | | | This reverts commit 6871c245a67fab222eccc2a21dcb620d11d3b0d0. | ||||
| * | More python portability fixes (for windows). | Graydon Hoare | 2011-05-03 | 2 | -2/+2 |
| | | |||||
| * | Attempt to use more portable python | Graydon Hoare | 2011-05-03 | 1 | -18/+18 |
| | | |||||
| * | Start sketching --depend support in rustc. | Graydon Hoare | 2011-05-03 | 3 | -1/+19 |
| | | |||||
| * | Rename the "llvm" API to "llvm-intrinsic" | Patrick Walton | 2011-05-03 | 3 | -2/+3 |
| | | |||||
| * | rustc: Refactor metadata.Encode.* to not require a type abbreviation table ↵ | Patrick Walton | 2011-05-03 | 3 | -45/+53 |
| | | | | | if abbreviation isn't enabled | ||||
| * | rustc: Name type glue properly | Patrick Walton | 2011-05-03 | 1 | -3/+17 |
| | | |||||