about summary refs log tree commit diff
path: root/src/rustllvm
AgeCommit message (Collapse)AuthorLines
2011-12-04Upgrade LLVM to svn revision 145779Brian Anderson-53/+11
This pulls in commits 145765 & 145766, which are required for split stacks.
2011-11-25rustc: Fall back to intrinsics.ll if we can't parse the bcBrian Anderson-0/+16
This will allow us to transition to the new bitcode format.
2011-11-16temp workaround for failure to pass ulonglong successfullyNiko Matsakis-0/+11
2011-11-15rustllvm: Add a GetOrInsertFunction wrapperHaitao Li-0/+7
Fixes issue #1161 Test-case-by: Brian Anderson <banderson@mozilla.com> Signed-off-by: Haitao Li <lihaitao@gmail.com>
2011-11-07rustc: Add support of generating LLVM assemblyHaitao Li-0/+13
rustc generates output files in LLVM bitcode format if "--emit-llvm" option is given. When used with the "-S" option, rustc generates LLVM intermediate language assembly files. Fixes Issue #476
2011-10-31rustc: Enable segmented stacks in LLVM when --stack-growth is onPatrick Walton-0/+7
2011-10-21Get 'make tidy' to work rustllvm and rt againBrian Anderson-15/+16
2011-10-15Update LinkModules invocation to use new prototypeElly Jones-1/+1
LLVM revision 141606 changes the prototype of llvm::Linker::LinkModules. Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-10-11Revert "Merge pull request #1025 from elly/master"Lindsey Kuper-1/+1
This reverts commit e12e76e9ba0785d556a6ea3ca71e4a467e2aeb4d, reversing changes made to f480203fdd4d8b498453c1f7cc0ad4f59d87c596.
2011-10-11Update LinkModules invocation to use new prototypeElly Jones-1/+1
LLVM revision 141606 changes the prototype of llvm::Linker::LinkModules. Signed-off-by: Elly Jones <elly@leptoquark.net>
2011-09-11Add Rust definitions for new LLVM EH instructionsBrian Anderson-0/+4
Issue #236
2011-08-28Follow LLVM header file shufflingMarijn Haverbeke-2/+2
This allows us to compile against revision 138708. I need this, because the version we currently use is causing mysterious corruption of object files during linking on win, apparently triggered by my vec-representation patch.
2011-08-18rustllvm: Emit frame map labelsPatrick Walton-0/+1
2011-08-18Shut up an uninitialized variable warning.Michael Sullivan-1/+1
2011-08-18rustllvm: Emit a stack map for frames with only static type descriptorsPatrick Walton-3/+159
2011-08-17rustc: Stub stack map generation machineryPatrick Walton-12/+9
2011-08-11rt: Stub Rust GC metadata printer and Rust GC strategy modulesPatrick Walton-0/+79
2011-08-11Revert "Add missing functions to rustllvm.def.in"Brian Anderson-3/+0
This reverts commit 1bea273974c3c9570f76fd9c4a4a985ca05bd60f. Looks like this is not actually necessary. Hard to tell since the tinderboxes are falling behind.
2011-08-11Add missing functions to rustllvm.def.inBrian Anderson-0/+3
2011-08-11Use the new C API for PassManagerBuilder.Rafael Ávila de Espíndola-50/+10
2011-08-11Update for llvm api change.Rafael Ávila de Espíndola-5/+5
2011-07-17Revert "Revert "Rename Passes2.cpp to Passes.cpp""Brian Anderson-0/+0
This reverts commit 52507f406ee0dab26681227266ddce7c8ae6d37f.
2011-07-17Revert "Rename Passes2.cpp to Passes.cpp"Brian Anderson-0/+0
This reverts commit c18127b913e25cb019087c885ad61e145f3a3df0.
2011-07-17Rename Passes2.cpp to Passes.cppBrian Anderson-0/+0
The original Passes.cpp is dead so Passes2 gets promoted
2011-07-17Remove Passes.cpp from rustllvmBrian Anderson-14/+0
Upstreamed
2011-07-17Remove Object.h from rustllvmBrian Anderson-77/+0
This file appears to be upstream now
2011-07-14Move rustc to the new llvm type system. Requires an update to llvm trunk.Rafael Ávila de Espíndola-12/+3
2011-07-01Update RustWrapper.cpp so that LLVM revision 134231 from June 30, 2011 at ↵Kelly Wilson-1/+3
22:15 GMT, works.
2011-06-27Easy fix for using newer LLVMs: just use the MachOObjectFile.cpp they provide.Rafael Ávila de Espíndola-330/+0
2011-06-22Use fast regalloc and codegen at OptLevel=0.Rafael Ávila de Espíndola-10/+4
2011-06-08Update rust to build with newer llvm versions.Rafael Ávila de Espíndola-13/+19
2011-05-14rustllvm: Free TargetMachine in LLVMRustWriteOutputFileBrian Anderson-2/+3
2011-05-10Add --time-llvm-passes.Graydon Hoare-0/+14
2011-05-07Stop stringifying integers to get integral constants.Graydon Hoare-0/+6
2011-05-06rustllvm: Add a function to add the standard function passes to a module; ↵Patrick Walton-3/+9
change uses of bool in LLVMAddStandardModulePasses() to LLVMBool
2011-05-06Put out burning linux tinderbox.Graydon Hoare-2/+6
2011-05-06rustllvm: Add a binding to the LLVM standard module passesPatrick Walton-0/+25
2011-05-06Ge the host triple using LLVM. Fix a few 'mutable' warnings also.Kelly Wilson-0/+7
2011-05-05rustc: Add a binding to LLVM's bitcode parserPatrick Walton-0/+9
2011-05-04rustllvm: Add bindings to the LLVM linkerPatrick Walton-2/+19
2011-05-04rustllvm: Whitespace police in RustWrapper.cppPatrick Walton-2/+4
2011-05-02rustc: Disable frame pointer omissionPatrick Walton-0/+1
2011-04-28Add a very minimal set of .cfi_* statements to get part of backtracesRafael Ávila de Espíndola-1/+1
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 ()
2011-04-26Disable frame-pointer elimination (not sure how this didn't get commited ↵Graydon Hoare-0/+5
before).
2011-04-22Use -c in the Makefiles.Rafael Ávila de Espíndola-0/+1
2011-04-22Dispose the module.Rafael Ávila de Espíndola-0/+1
Thanks to brson for noticing it.
2011-04-18Revert 9ab42038bb13d3c8b01faa9c88e660e4e590fb00 while I find what isRafael Ávila de Espíndola-1/+0
wrong on Windows.
2011-04-18Change the makefiles to use -c.Rafael Ávila de Espíndola-0/+1
2011-04-18Add a -c option.Rafael Ávila de Espíndola-5/+14
2011-04-15Produce PIC code and use -S in the Makefile.Rafael Ávila de Espíndola-0/+1