Commit Graph

1753 Commits

Author SHA1 Message Date
Graydon Hoare 81f3b33bb0 Split R and T so that tests run under valgrind but compiler doesn't. 2011-03-21 11:02:37 -07:00
Graydon Hoare 5f64612a14 Fix misuse of $(S) before definition, to permit running with valgrind suppressions. 2011-03-21 11:02:15 -07:00
Patrick Walton 0366f5ae23 Add some C99 and C++ compatibility headers for MSVC 2011-03-21 10:24:00 -07:00
Rafael Ávila de Espíndola e687dd5ce7 Make lltaskptr a regular argument element in args in calls to trans_upcall2. 2011-03-21 11:59:14 -04:00
Rafael Ávila de Espíndola 770a49520c Move calls to PtrToInt out of trans_upcall2. 2011-03-21 11:11:22 -04:00
Graydon Hoare 26ec8831dc s/DSYMUTIL/CFG_DSYMUTIL/ 2011-03-20 21:05:49 -07:00
Graydon Hoare d22714f70d Add -lrt to stateN link commands. 2011-03-20 21:05:31 -07:00
Graydon Hoare 4b946cea35 Modify native_item_fn to handle trailing linkage names that differ from the item name (used in win32 build of std.dll) 2011-03-20 20:18:19 -07:00
Graydon Hoare 0c7545c1ce Switch win32 path_sep to '/', add comment explaining a bit. 2011-03-20 19:43:43 -07:00
Graydon Hoare 460d89156f Add slightly nicer failure message to io.rs when it can't open a file. 2011-03-20 19:43:41 -07:00
Graydon Hoare c4e0085291 Fix multi-stage deps, add rules for stage1 and stage2 outputs. 2011-03-20 19:43:39 -07:00
Graydon Hoare a36b44d33d Depend %.stage0.exe on %.stage0.o. 2011-03-20 19:43:38 -07:00
Graydon Hoare d9dc070588 Fix typo. 2011-03-20 19:43:36 -07:00
Patrick Walton d31bfc8692 rustc: Internalize glue. Cuts libstd size by 8% or so. 2011-03-20 15:05:13 -07:00
Graydon Hoare 4691a75150 Begin porting rules for testsuite execution. 2011-03-20 01:12:26 -07:00
Graydon Hoare 74a585eeb7 Add build rules for stage1. 2011-03-19 22:55:28 -07:00
Graydon Hoare aa1e331469 Set up dynamic library paths properly in builddir. 2011-03-19 18:34:51 -07:00
Graydon Hoare 724a9a392a Correct deps on stage0/glue.bc 2011-03-19 18:34:49 -07:00
Graydon Hoare 24e0fc071f Switch path-munge from sed to perl. 2011-03-19 18:34:48 -07:00
Graydon Hoare ff22bdfb6e Fix indentation in tidy. 2011-03-19 18:34:46 -07:00
Graydon Hoare 65f6fcb23a Minor clarification. 2011-03-19 18:34:44 -07:00
Graydon Hoare 3e7ff65201 Truncate long lines in configure output. 2011-03-19 18:34:42 -07:00
Graydon Hoare 50c78313f2 Separate scan for commands used during configure. 2011-03-19 18:34:40 -07:00
Graydon Hoare b56f4540e9 Probe for python, git, makeinfo and texi2pdf, but not sed. 2011-03-19 18:34:38 -07:00
Graydon Hoare 5d5b63adb9 Probe for llvm libdir as well. 2011-03-19 18:34:37 -07:00
Patrick Walton 277d42f589 rustc: Only declare each native function once. std.rc now links. 2011-03-19 17:33:46 -07:00
Patrick Walton a1aad28690 rustc: Use the right block context to generate unary operands. std.rc compiles now. For realz. 2011-03-19 15:03:21 -07:00
Patrick Walton 8e597b295f rustc: Allow arguments to be captured as upvars. std.rc compiles now, except for the lack of a main fn. 2011-03-19 14:26:12 -07:00
Patrick Walton c710c9a1b8 rustc: Do argument casts before loading aggregates, not after 2011-03-19 13:58:48 -07:00
Patrick Walton 3f2bae4449 rustc: Implement int-to-native casts 2011-03-18 18:49:59 -07:00
Patrick Walton e6b6d1b645 rustc: Make trans_path() generic-safe wrt nullary tags 2011-03-18 18:45:49 -07:00
Patrick Walton 95dc89f012 rustc: Make iter_structural_ty_full() generic-safe wrt tags 2011-03-18 18:34:06 -07:00
Graydon Hoare b7972d34ed Add support for building glue.o. 2011-03-18 18:33:22 -07:00
Graydon Hoare 29d7cb8833 Run rustc stages using proper LD_LIBRARY_PATH. 2011-03-18 18:33:22 -07:00
Graydon Hoare 02d18ccf31 Point valgrind suppressions file to srcdir. 2011-03-18 18:33:22 -07:00
Patrick Walton 8c48fae726 rustc: Do pointer casts when casting native types 2011-03-18 18:12:58 -07:00
Patrick Walton 9c0c0af1b2 rustc: Fix inference for auto slots (forgot to stage changes before) 2011-03-18 17:45:47 -07:00
Graydon Hoare a599d80e98 Add rules for stage0/rustc to Makefile.in. 2011-03-18 17:44:40 -07:00
Graydon Hoare 874a7bfba2 Remove redundant slashes in Makefile.in. 2011-03-18 17:44:40 -07:00
Graydon Hoare 03e2e5963e Rename SUPPORT_INCS -> LLVM_INCS in Makefile.in. 2011-03-18 17:44:40 -07:00
Patrick Walton 082e5a5e5d rustc: Fix inference for auto slots. Add a test case. 2011-03-18 17:43:56 -07:00
Patrick Walton f3b58947c0 rustc: Don't always build a constant multiply instruction when translating literal vectors; the size of the referent isn't always constant 2011-03-18 16:41:56 -07:00
Patrick Walton 533dea772f rustc: Move type_of() behind the check for dynamic size in trans_vec() 2011-03-18 16:34:22 -07:00
Patrick Walton 78bcfe28f2 rustc: Create global variable constants during the collection phase 2011-03-18 16:24:01 -07:00
Graydon Hoare 37cc67fbfe Get llvmext building in new Makefile.in. 2011-03-18 16:23:35 -07:00
Graydon Hoare aab3916d47 Remove some whitespace. 2011-03-18 16:18:45 -07:00
Graydon Hoare 7055c3928c Make the llvmext dir in builddir from configure. 2011-03-18 16:06:45 -07:00
Graydon Hoare c328ba1c54 Rename a couple CFG_LIB_NAME vars in Makefile.in 2011-03-18 16:06:15 -07:00
Patrick Walton 8ff77b14a9 rustc: Make iter_sequence() work with generic vectors 2011-03-18 16:04:16 -07:00
Patrick Walton 9ad9d3783d rustc: Fix list.foldl() to pass its second argument by alias 2011-03-18 15:19:32 -07:00