379 Commits

Author SHA1 Message Date
bjorn3
849f7f7041 Update gimli 2019-02-02 11:48:09 +01:00
bjorn3
99e43822b4 Misc debuginfo.rs changes 2019-02-01 19:31:26 +01:00
bjorn3
805af227b6 Fix line debuginfo malformness in presence of macros 2019-01-30 14:57:08 +01:00
bjorn3
bdf1320508 Fix panic_if_uninhabited intrinsic 2019-01-26 17:41:04 +01:00
bjorn3
00e6462334 Fix offset addend mixup 2019-01-26 17:40:33 +01:00
bjorn3
4fbff29a4a Misc debuginfo change 2019-01-26 14:06:02 +01:00
bjorn3
c4d010b8a5 Deduplicate debug section defining and linking 2019-01-26 12:49:33 +01:00
bjorn3
ddbbb267b6 Update gimli 2019-01-26 12:37:49 +01:00
bjorn3
36f6e2f508 Use FileIndex for DW_AT_decl_file and omit .debug_ranges and .debug_rnglists when empty 2019-01-26 12:28:54 +01:00
bjorn3
cf7ee00afd Improve it a bit 2019-01-26 11:59:57 +01:00
bjorn3
a12eef4d86 Use IndexSet and keep full source info in set_debug_loc 2019-01-26 11:59:57 +01:00
bjorn3
6b5cbc540d Use gimli's byteorder in debuginfo.rs 2019-01-26 11:59:57 +01:00
bjorn3
8bddc783e0 Update gimli 2019-01-26 11:59:57 +01:00
bjorn3
d61ceeca7c Generate lineinfo for default srcloc 2019-01-26 11:59:57 +01:00
bjorn3
09c4569c87 Implement line debuginfo 2019-01-26 11:59:57 +01:00
bjorn3
9e609db886 Rustup to rustc 1.33.0-nightly (bf669d1e3 2019-01-25) 2019-01-26 11:59:34 +01:00
bjorn3
8aee796013 Update Cargo.lock and use emit_small_memcpy 2019-01-15 20:35:49 +01:00
bjorn3
5a931acb48 Improve global name for anonymous allocations 2019-01-12 15:16:09 +01:00
bjorn3
8a586eb6cb Rustup to rustc 1.33.0-nightly (68fe5182c 2019-01-05) 2019-01-06 15:27:20 +01:00
bjorn3
144ff955d6 Use layout.abi 2019-01-02 14:03:56 +01:00
bjorn3
a15af1ccba Rename load_value to load_scalar and make it support all Abi::Scalar types 2019-01-02 13:39:02 +01:00
bjorn3
c7101bbfd4 Some cleanup of abi.rs 2019-01-02 12:20:32 +01:00
bjorn3
16e43c9d21 Fix unsize coercions and the size_of_val and min_align_of_val intrinsics for custom dst's 2018-12-29 15:36:17 +01:00
bjorn3
8f2ca706c2 Setup env_logger 2018-12-29 12:04:35 +01:00
bjorn3
bebaa83c4a Add 'set is_pic' to clif files 2018-12-28 18:48:47 +01:00
bjorn3
8561349ece Only build clif comments in debug mode 2018-12-28 17:09:38 +01:00
bjorn3
56133d1b18 Fix release mode 2018-12-28 15:18:35 +01:00
bjorn3
3e40f150d0 Add some more clif comments 2018-12-27 10:59:01 +01:00
bjorn3
af78c9a10e Reduce duplication in abi.rs a bit 2018-12-26 11:15:42 +01:00
bjorn3
2c25b29c9c Simplify argument storage 2018-12-25 16:54:41 +01:00
bjorn3
7ea7d021ca Rustup to rustc 1.33.0-nightly (ddab10a69 2018-12-23) 2018-12-24 14:50:18 +01:00
bjorn3
3d05ff922c Use the linkage and visibility produced by tcx.collect_and_partition_mono_itemscc #209 2018-12-23 19:41:35 +01:00
bjorn3
0b4ede39e5 Add pretty param and local info comments to clif 2018-12-22 18:21:30 +01:00
bjorn3
9882576497 Improve debug messages in generated clif files 2018-12-22 18:21:30 +01:00
bjorn3
64d4257387 Rustup to rustc 1.33.0-nightly (09d6ab90e 2018-12-20) 2018-12-21 13:45:06 +01:00
bjorn3
d94fe1d717 Fix calling drop_in_place_real with empty drop glue
fixes #209
2018-12-20 14:57:34 +01:00
bjorn3
6fa3140222 Introduce CodegenCx 2018-12-18 18:28:02 +01:00
bjorn3
0530d5225f Disable probestack 2018-12-15 17:17:10 +01:00
bjorn3
2d14dc9f1e Rustup cg_ssa to rustc 1.32.0-nightly (f4a421ee3 2018-12-13) 2018-12-14 13:42:26 +01:00
bjorn3
c8d435aade Put allocator shim in a different object file 2018-12-13 15:24:14 +01:00
bjorn3
77e3612581 Move emit_module a bit up 2018-12-13 15:24:14 +01:00
bjorn3
978add3698 Convenience functions for creating and emitting faerie modules 2018-12-13 15:24:14 +01:00
bjorn3
bc687ee992 Prepare for emitting separate object files for each codegen unit 2018-12-13 15:24:14 +01:00
bjorn3
4d0dba944c Some refactorings for codegen_mono_items 2018-12-12 16:01:34 +01:00
bjorn3
94eac08a48 Extract TargetIsa building to a separate function 2018-12-12 15:11:15 +01:00
bjorn3
dc2f32f985 Change the CallConv for "rust" abi functions to "SystemV" to match the "C" abi
The allocator machinery seems to mix "rust" and "C" abi function defs and calls.
2018-12-11 15:13:45 +01:00
bjorn3
bd4b307b42 Support dylibs 2018-12-10 15:10:12 +01:00
bjorn3
2cff2d3328 Rustup to rustc 1.32.0-nightly (4a45578bc 2018-12-07) 2018-12-08 10:48:35 +01:00
bjorn3
3c364134ec Restructure scripts and add flamegraph generator 2018-12-03 18:50:00 +01:00
bjorn3
b649180def Rustup to rustc 1.32.0-nightly (21f268495 2018-12-02) 2018-12-03 18:00:09 +01:00