aboutsummaryrefslogtreecommitdiff
path: root/src/comp/back
Commit message (Collapse)AuthorAgeFilesLines
* rustc: lowercase the link and link::write modulesBrian Anderson2011-05-131-1/+1
|
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-124-114/+114
| | | | This should be a snapshot transition.
* Add --time-llvm-passes.Graydon Hoare2011-05-101-2/+14
|
* rustc: Get rid of native Rust glue for all upcalls except the exit task gluePatrick Walton2011-05-101-9/+9
|
* rustc: Give our upcall definitions the right valuesPatrick Walton2011-05-091-40/+50
|
* rustc: Declare upcalls with real signatures; preparation for killing ↵Patrick Walton2011-05-091-0/+125
| | | | rust_native_rust_* stubs
* rustc: Replace our homebrew list of passes with the standard function and ↵Patrick Walton2011-05-091-50/+16
| | | | module passes, along with the TargetData passes.
* rustc: Make llvm_err() conform to Postel's law a little betterPatrick Walton2011-05-061-1/+6
|
* Rename std modules to be camelcasedMarijn Haverbeke2011-05-062-31/+31
| | | | (Have fun mergining your stuff with this.)
* rustc: Bump the number of native glues to 8Patrick Walton2011-05-061-1/+1
|
* Fix x86.rs triple for linux.Graydon Hoare2011-05-051-1/+1
|
* Use symbolic register names so that we get the correct encoding on OS X.Rafael Ávila de Espíndola2011-05-051-2/+2
|
* rustc: Link with intrinsics.bc; change intrinsics linkage to linkonce_odrPatrick Walton2011-05-052-2/+28
|
* rustc: Add a binding to LLVM's bitcode parserPatrick Walton2011-05-051-0/+6
|
* rustc: Add a Link module; move crate writing to it to slim down trans slightlyPatrick Walton2011-05-051-0/+176
|
* rustc: Emit pure native glue; we don't call it yetPatrick Walton2011-04-292-12/+31
|
* Implement destructors in rustcMarijn Haverbeke2011-04-291-0/+1
| | | | | | Unlike rustboot, rustc keeps it destructors in vtables. Entry 0 holds either the destructor for the obj or a NULL pointer. The method offsets start at 1.
* Add a very minimal set of .cfi_* statements to get part of backtracesRafael Ávila de Espíndola2011-04-281-2/+34
| | | | | | | | | | | | | | | | | working (on hello world at least): ~/inst/gdb/bin/gdb --args ./foo (gdb) b write ... (gdb) r ... Breakpoint 1, 0xf7f04270 in write () from /lib32/libc.so.6 (gdb) bt 0 0xf7f04270 in write () from /lib32/libc.so.6 1 0x0804931a in rust_native_cdecl_3 () 2 0x080487d7 in _rust_wrapper3_ () 3 0x0804890a in _rust_fn5_main () 4 0x08049440 in rust_native_cdecl_7 ()
* rustc: Add an operation field to compare glue with ==, <=, and < modesPatrick Walton2011-04-181-0/+5
|
* rustc: Create stub glue for structural comparisonPatrick Walton2011-04-181-0/+2
|
* Remove silly legacy glue-offset encoding, predicate runtime adjustments by ↵Graydon Hoare2011-04-091-6/+6
| | | | ABI. LLVM should inline most glue now.
* Change rust_vec to have a 16-byte header, to 16-byte-align vec-body data. ↵Graydon Hoare2011-04-021-1/+2
| | | | Major perf win.
* Trans nomenclature tidy-up: upcall vs. native vs. extern.Graydon Hoare2011-03-252-21/+22
|
* Another go at changing compile-command, this time using RBUILD env var.Graydon Hoare2011-03-252-2/+2
|
* Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵Graydon Hoare2011-03-252-2/+2
| | | | | | build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
* Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵Graydon Hoare2011-03-252-2/+2
| | | | off src root.
* Every upcall needs a task pointer to find the C stack. It is just that whenRafael Ávila de Espíndola2011-03-212-11/+22
| | | | | | | handling cdecl call they should skip it when calling the final function. There is some cleanup to be done on the generated IL, but this gets us running Hello World for real.
* Fixed version of my previous patch to rename the upcall functions. This time ↵Rafael Ávila de Espíndola2011-03-161-3/+3
| | | | also update the inline assembly.
* rustc: Add some stub metadata to each cratePatrick Walton2011-03-111-0/+10
|
* Fix access to the rust stack.Rafael Ávila de Espíndola2011-03-091-15/+32
|
* swap taskptr and callee in preparation for making taskptr optional.Rafael Ávila de Espíndola2011-03-091-8/+10
|
* Assortment of additional work on vec-append. Not done yet.Graydon Hoare2011-03-031-2/+2
|
* Sketch out some more pieces of vec-append.Graydon Hoare2011-03-021-0/+4
|
* Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup ↵Graydon Hoare2011-02-222-2/+5
| | | | so access to argv works.
* Add the single instruction required in activate glue to fix burning darwin ↵Graydon Hoare2011-02-081-2/+99
| | | | tinderbox. And transplant 100 lines of comments from the ML code.
* Capture typarams into obj, independent of body tydesc.Graydon Hoare2011-02-031-1/+2
|
* Add bzero glue and preliminary code for dynamic size/align calculations.Graydon Hoare2011-01-181-0/+4
|
* Use homebrew memcpy, not llvm intrinsic. Can't run the latter on a rust stack.Graydon Hoare2011-01-171-0/+8
|
* Sketch closure-forming logic for nontrivial bindings.Graydon Hoare2011-01-051-0/+6
|
* Mop up cases of s/copy/take/, remove 'binding' terminology, whitespace ↵Graydon Hoare2010-12-201-13/+5
| | | | police, and make obj/fn structural.
* rustc: Build tydescs for types, and make all take and drop operations go ↵Patrick Walton2010-12-201-0/+11
| | | | through the tydescs for simplicity (LLVM inlines them).
* Remove calltup fields from ABI, add binding fields.Graydon Hoare2010-12-161-6/+17
|
* rustc: Set data layout and target triplePatrick Walton2010-12-031-0/+20
|
* Fix typo in x86 backend glue that was, by luck, only crashing on OSX.Graydon Hoare2010-11-151-1/+1
|
* Switch upcall glues to fastcall as well.Graydon Hoare2010-11-141-10/+11
|
* Remove outptr from module-internal calls; use standard ABI returns.Graydon Hoare2010-11-141-9/+9
|
* Teach rustc about const tag value, begin work on trans_copy_ty, make uint's ↵Graydon Hoare2010-11-091-0/+3
| | | | to_str routine less clever and thereby resist overflow.
* Move symbol prefix logic into separate function, add underscore prefix for ↵Graydon Hoare2010-11-051-4/+10
| | | | windows.
* Don't use string == in x86.rs, doesn't work.Graydon Hoare2010-10-221-1/+1
|
* rustc: Add an "_" prefix to assembler-generated symbols on MacPatrick Walton2010-10-221-0/+5
|