about summary refs log tree commit diff
path: root/src/boot/llvm
AgeCommit message (Collapse)AuthorLines
2010-12-29Remove LLVM rustboot backend.Graydon Hoare-1591/+0
2010-11-08Fix linux burn caused by last commit on friday.Graydon Hoare-1/+1
2010-11-05Update lltrans to also emit WinMain@16 on windows.Graydon Hoare-3/+10
2010-10-12Git index wins again.Graydon Hoare-12/+13
2010-10-12Changes to make rustboot compile on OCaml 3.12Graydon Hoare-9/+9
2010-09-15Add Ast.ATOM_pexp and -pexp mode wherein pexps live beyond parsing, into ↵Graydon Hoare-0/+2
later stages. Fixes to pexp pretty printer.
2010-09-09Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly ↵Graydon Hoare-19/+12
work, possibly a little bumpy. Changes a lot.
2010-08-06Fix LLVM translation of modules.Jeffrey Yasskin-10/+29
2010-07-27Switch machine-type lexemes to use suffixes. Remove support for foo(bar) as ↵Graydon Hoare-3/+3
a cast notation. Closes #129.
2010-07-27Calm some LLVM indigestion of last change.Graydon Hoare-6/+6
2010-07-23Rename STMT_init_* to STMT_new_*; former name was confusing.Graydon Hoare-2/+2
2010-07-22Re-classify some err / bug cases as unimpl. Ideally rustboot should never ↵Graydon Hoare-4/+6
produce a backtrace.
2010-07-23Fix simple generic type parameters in LLVM.Jeffrey Yasskin-3/+28
2010-07-23Implement tuple access for LLVM.Jeffrey Yasskin-20/+77
This involved adding an Ast.ty return to trans_lval. I also included the code for record and box access, but their tests don't completely pass yet.
2010-07-22Make sure debug locations are propagated to every new block created by makingJeffrey Yasskin-19/+47
them an argument to new_block. gdb should do a good job of single-stepping LLVM-compiled rust programs by rust line number now.
2010-07-20Pick off the last LLVM-crasher from mbx's change.Graydon Hoare-1/+4
2010-07-20Adjust llasm, llabi to be aware of changes to rust_task structure. Still not ↵Graydon Hoare-4/+18
working fully.
2010-07-20Tidy up handling of unimplemented features. These are expected (if ↵Graydon Hoare-17/+25
undesirable) sorts of error, we should handle better than "backtrace and exit 2".
2010-07-20Fix opeq.rs for LLVM by implementing simple augmented-assignment operators.Jeffrey Yasskin-17/+31
2010-07-20Make the LLVM compiler crash when it hits a source construct it doesn't knowJeffrey Yasskin-17/+34
what to do with, rather than silently omitting it from the output.
2010-07-20Teach the LLVM backend to emit line number information.Jeffrey Yasskin-27/+87
This isn't complete: it misses line numbers in certain kinds of block. It's also still tricky to use it on Darwin, where we need to call dsymutil while the .o file is still around in order for gdb to find the debugging symbols.
2010-07-18Fix argv.rs under the LLVM compiler.Jeffrey Yasskin-9/+9
The call to rust_start was assuming that all rust main() functions have the same signature, but the compiler doesn't actually canonicalize them. So instead just match the C signature of rust_start, and cast.
2010-07-16Clean up nomenclature in the Abi constants brigade. Purge magic GEP numbers ↵Roy Frostig-2/+2
in trans. Adjust obj_closure_rty (and its consumers) to be more explicit about the fact that it is a box.
2010-07-15Make mutability no longer a type constructorPatrick Walton-3/+3
2010-07-02Wrap long line.Graydon Hoare-11/+12
2010-07-02Return LLVM to at least being able to run hello world.Graydon Hoare-1/+1
2010-07-01Correct overzealous bulk-edit to LLVM code.Graydon Hoare-1/+1
2010-06-30Rename 'exterior' to 'box' and 'interior' to 'local' (at least wrt. slots; ↵Graydon Hoare-6/+6
keep MEM_interior for describing interior-parts-of-allocations)
2010-06-29Update LLVM translation to match changes to slot and ty.Graydon Hoare-16/+23
2010-06-28Move more of the GC logic into the runtime.Graydon Hoare-1/+1
2010-06-25Emit gc glue and rearrange crate glue offsets slightly to have a regular order.Graydon Hoare-4/+6
2010-06-24Add fmt module, move out some common format helpers, add ↵Graydon Hoare-1/+1
instruction-selection tracing and make selection use queues rather than list refs.
2010-06-23Populate tree.Graydon Hoare-0/+1331