about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
AgeCommit message (Collapse)AuthorLines
2012-07-24Remove rustllvm functions which have moved upstream.Elliott Slaughter-14/+0
2012-07-24Only initialize targets that are actually supported / linked to in RustWrapperZack Corr-4/+16
2012-07-13Better error when rustc fails to write output.Glenn Willen-1/+6
2012-06-29Adding a bunch of atomic intrinsics.Eric Holk-0/+10
Adding a test cases for the atomic intrinsics.
2012-04-30Update llvm and integrate clang and compiler-rt.Graydon Hoare-1/+1
2012-01-13llvm: Switch back to LLVM trunkBrian Anderson-7/+0
2011-12-18Generate basic debug info for files, functions and compile units.Josh Matthews-0/+14
2011-12-04Upgrade LLVM to svn revision 145779Brian Anderson-18/+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/+15
This will allow us to transition to the new bitcode format.
2011-11-16temp workaround for failure to pass ulonglong successfullyNiko Matsakis-0/+10
2011-11-15rustllvm: Add a GetOrInsertFunction wrapperHaitao Li-0/+6
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/+12
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/+6
2011-10-21Get 'make tidy' to work rustllvm and rt againBrian Anderson-9/+10
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-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-11Use the new C API for PassManagerBuilder.Rafael Ávila de Espíndola-8/+0
2011-08-11Update for llvm api change.Rafael Ávila de Espíndola-2/+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-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-2/+1
2011-05-14rustllvm: Free TargetMachine in LLVMRustWriteOutputFileBrian Anderson-2/+3
2011-05-10Add --time-llvm-passes.Graydon Hoare-0/+12
2011-05-07Stop stringifying integers to get integral constants.Graydon Hoare-0/+5
2011-05-06Put out burning linux tinderbox.Graydon Hoare-2/+6
2011-05-06Ge the host triple using LLVM. Fix a few 'mutable' warnings also.Kelly Wilson-0/+6
2011-05-05rustc: Add a binding to LLVM's bitcode parserPatrick Walton-0/+8
2011-05-04rustllvm: Add bindings to the LLVM linkerPatrick Walton-2/+18
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-4/+13
2011-04-15Produce PIC code and use -S in the Makefile.Rafael Ávila de Espíndola-0/+1
2011-04-15Add a -S option for producing assembly. I will move more of it toRafael Ávila de Espíndola-0/+29
rust once the necessary APIs are available in C.
2011-04-13Remove code that is already in llvm for some time.Rafael Ávila de Espíndola-3/+0
2011-04-13Enable alias analysis and the function attributes pass.Rafael Ávila de Espíndola-0/+5
The C API extension is already upstream, we can drop the local copy once the bots are updated.
2011-04-11Add a hack to force the linker to fetch Object.oRafael Ávila de Espíndola-0/+2
2011-03-21Repair some fallout from pcwalton's last few build changes.Graydon Hoare-0/+31