about summary refs log tree commit diff
path: root/src/comp/back/link.rs
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-718/+0
2012-02-23Finish cleanup of core::strMarijn Haverbeke-8/+5
Closes #1849
2012-02-23Various cleanups and optimizations in core::strMarijn Haverbeke-3/+2
2012-02-23(core::str) remove len_bytes aliasKevin Cantu-4/+3
2012-02-23(core::str) replace uses of unsafe::slice_bytes; replace find[_from]_bytes ↵Kevin Cantu-3/+3
with find[_from]
2012-02-23(core::str) stop using index_charsKevin Cantu-2/+2
2012-02-23(core::char) rename slice -> slice_charsKevin Cantu-1/+1
2012-02-23(core::str) rename index -> index_charsKevin Cantu-1/+1
2012-02-21Include @ in crate_ctxt and fn_ctxt type definitionsMarijn Haverbeke-6/+6
So that code using them doesn't have to spell it out constantly.
2012-02-15Replace some explicit fails with 'alt check' invocationsMarijn Haverbeke-2/+1
2012-02-13(core::str) add find_bytes and export it...Kevin Cantu-1/+2
2012-02-12(core::str) rename byte_len -> len_bytes and rename char_len -> lenKevin Cantu-3/+3
2012-02-11using str::index...Kevin Cantu-6/+8
2012-02-11core::str rename [r]index -> [r]index_bytesKevin Cantu-1/+1
2012-02-09Remove some pointless importsMarijn Haverbeke-6/+1
2012-02-07core: make str::substr use char positions (and replace other uses)Kevin Cantu-4/+5
2012-02-07String split renaming:Kevin Cantu-2/+3
* Renamed str::split -> str::split_byte * Renamed str::splitn -> str::splitn_byte * Renamed str::split_func -> str::split * Renamed str::split_char -> str::split_char * Renamed str::split_chars_iter -> str::split_char_iter * Added u8::is_ascii * Fixed the behavior of str::split_str, so that it matches split_chars and split (i.e. ["", "XXX", "YYY", ""] == split_str(".XXX.YYY.", ".")) * Fixed str::split_byte and str::splitn_byte so that they handle splitting UTF-8 strings on a given UTF-8/ASCII byte and also handle "" as the others do
2012-02-06change gcc_args to cc_args and make win32 use gccJyun-Yan You-27/+32
2012-02-06use cc instead of gccJyun-Yan You-1/+4
2012-02-03Store item paths in ast_map, get rid of trans::local_ctxtMarijn Haverbeke-12/+15
The direct motivation for this was that the monomorphizer needs to be able to generate sane symbols for random items. The typechecker can probably also use this in the future to provide more useful error messages.
2012-02-01Rename (again) str::unsafe::slice -> str::unsafe::slice_bytes andKevin Cantu-1/+1
str::unsafe::safe_slice -> str::unsafe::slice_bytes_safe_range
2012-02-01Propagating unsafe::slice 3Kevin Cantu-2/+2
2012-02-01Propagating unsafe::slice 2Kevin Cantu-2/+2
2012-02-01Get rid of native types in LLVM moduleMarijn Haverbeke-5/+2
Code is still somewhat kludgy because we don't have 32-bit enums. Issue #1673
2012-01-31Change option::t to optionTim Chevalier-5/+5
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-27Move various trans_ modules under a trans:: umbrella moduleMarijn Haverbeke-1/+1
Closes #1304
2012-01-19rustc: ";" to "," in enumsPatrick Walton-6/+6
2012-01-19rustc: "tag" -> "enum"Patrick Walton-1/+1
2012-01-19Remove support for the '.' after a nullary tag in a patternTim Chevalier-3/+3
(Commit also includes lots of changes to remove '.'s that a git merge messed up, or else it was monkeys.)
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-9/+9
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-19rustc: Use integer from ctypes consistentlyHaitao Li-6/+6
2012-01-19Use ctypes in native function declarationsHaitao Li-12/+13
2012-01-17Fail slightly more gracefully when given an -o filename that doesn't have an ↵Tim Chevalier-1/+4
extension
2012-01-13deprecate fn exprs and the fn() type, preferring fn@ and native fnNiko Matsakis-10/+9
2012-01-13Remove all remaining uses of objs from the compilerMarijn Haverbeke-2/+2
2012-01-12Make driver::session::session no longer an objectMarijn Haverbeke-33/+34
Rather, it is now a struct where properties like opts are accessed directly, and the error-reporting methods are part of a static impl (with the same name as the type).
2012-01-04"str": rename "str_from_cstr" to "from_cstr" (analogous to the other "from_*")Lenny222-1/+1
2012-01-01link with gcc44+Jyun-Yan You-1/+3
2012-01-01fix link errorJyun-Yan You-1/+4
2012-01-01add missing library, enable segmented stacks for freebsdJyun-Yan You-5/+4
2012-01-01freebsd supportUser Jyyou-4/+11
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-1/+1
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-6/+6
#debug.
2011-12-19Fix a typo.Erick Tryzelaar-1/+1
2011-12-18rustc: Don't emit compact unwind info on macBrian Anderson-0/+8
It's not compatible with the subtlety of __morestack
2011-12-15Fix bug in library output filename construction: /tmp/foo.rc was being ↵Graydon Hoare-0/+7
linked as lib/tmp/foo-<hash>-<vers>.so not /tmp/foo-<hash>-<vers>.so
2011-12-14rustc: Always write split stack prologuesBrian Anderson-6/+4
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-4/+4
2011-12-12rustc: Work around a segmentation faultHaitao Li-24/+24
On Linux/Mac, I got a segmentation fault: (gdb) bt #0 0x00000000007519af in glue_take584 () #1 0x00000000006d4bec in back::rpath::get_rpath_flags::_3899df2ca513c603 () #2 0x00000000006c7655 in back::link::link_binary::_7afde00a9791031c () #3 0x00000000007d3ff5 in driver::rustc::compile_input::thunk9212 () #4 0x0000000000710f24 in driver::rustc::time::_3e691b2a4ba58aee () #5 0x000000000071a79d in driver::rustc::compile_input::_7b4a41b87c18e034 () #6 0x000000000072f0a9 in driver::rustc::main::_cd8b8c8185af3dee () #7 0x000000000072f1ed in _rust_main () #8 0x00007ffff7e6e146 in task_start_wrapper (a=<optimized out>) at ../src/rt/rust_task.cpp:176 The variable `output` or `out_filename` becomes (null) after the definition of `fn unlib`. Move the function defintion to the beginning seems prevent the crash on Linux.
2011-12-12rustc: Refactor and get built on WindowsHaitao Li-14/+12