Commit Graph

612 Commits

Author SHA1 Message Date
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
6e5d9abe9c Rustup to rustc 1.33.0-nightly (e40548bc4 2018-12-21) 2018-12-22 10:54:38 +01:00
bjorn3
64d4257387 Rustup to rustc 1.33.0-nightly (09d6ab90e 2018-12-20) 2018-12-21 13:45:06 +01:00
dependabot[bot]
00e09cc5b9
Merge pull request #240 from bjorn3/dependabot/cargo/heck-0.3.1 2018-12-21 12:41:12 +00:00
bjorn3
d94fe1d717 Fix calling drop_in_place_real with empty drop glue
fixes #209
2018-12-20 14:57:34 +01:00
dependabot[bot]
02b32f117d
Bump heck from 0.3.0 to 0.3.1
Bumps [heck](https://github.com/withoutboats/heck) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/withoutboats/heck/releases)
- [Commits](https://github.com/withoutboats/heck/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-20 05:26:18 +00:00
bjorn3
43a68c33fe
Merge pull request #239 from bjorn3/dependabot/cargo/cc-1.0.27
Bump cc from 1.0.26 to 1.0.27
2018-12-19 12:31:38 +01:00
dependabot[bot]
1ec65937d6
Bump cc from 1.0.26 to 1.0.27
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.26 to 1.0.27.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.26...1.0.27)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-19 06:37:50 +00:00
bjorn3
6fa3140222 Introduce CodegenCx 2018-12-18 18:28:02 +01:00
bjorn3
4f32e703a8 Update Cargo.lock 2018-12-18 15:20:24 +01:00
dependabot[bot]
fd18bc4b38
Merge pull request #238 from bjorn3/dependabot/cargo/cranelift-328642f 2018-12-18 07:36:07 +00:00
dependabot[bot]
ea2c856319
Bump cranelift from 05b6226 to 328642f
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `05b6226` to `328642f`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](05b62260ac...328642ffb2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-18 06:32:15 +00:00
bjorn3
0530d5225f Disable probestack 2018-12-15 17:17:10 +01:00
bjorn3
1e5c6bc5b8 Stop using xargo for building the sysroot
It is currently broken. (see https://github.com/japaric/xargo/issues/227)

This makes it easier to for example patch whole crates away.
2018-12-15 16:18:03 +01:00
bjorn3
9351f1d0c7 Rustup patches to rustc 1.33.0-nightly (96d1334e5 2018-12-14) 2018-12-15 14:46:58 +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
dependabot[bot]
64f53971e6
Merge pull request #225 from bjorn3/dependabot/cargo/cc-1.0.26 2018-12-13 07:46:30 +00:00
dependabot[bot]
b1f1886dd5
Bump cc from 1.0.25 to 1.0.26
Bumps [cc](https://github.com/alexcrichton/cc-rs) from 1.0.25 to 1.0.26.
- [Release notes](https://github.com/alexcrichton/cc-rs/releases)
- [Commits](https://github.com/alexcrichton/cc-rs/compare/1.0.25...1.0.26)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-13 07:30:37 +00:00
dependabot[bot]
0befe57cc6
Merge pull request #226 from bjorn3/dependabot/cargo/backtrace-0.3.12 2018-12-13 07:22:04 +00:00
dependabot[bot]
870378c452
Bump backtrace from 0.3.11 to 0.3.12
Bumps [backtrace](https://github.com/alexcrichton/backtrace-rs) from 0.3.11 to 0.3.12.
- [Release notes](https://github.com/alexcrichton/backtrace-rs/releases)
- [Commits](https://github.com/alexcrichton/backtrace-rs/compare/0.3.11...0.3.12)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-13 05:45:53 +00: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
5538c15a43 Update Cargo.lock 2018-12-12 14:57:55 +01:00
dependabot[bot]
9dd3621474
Merge pull request #218 from bjorn3/dependabot/cargo/cranelift-05b6226 2018-12-12 07:14:56 +00:00
dependabot[bot]
0fa7773234
Bump cranelift from 9d17fc9 to 05b6226
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `9d17fc9` to `05b6226`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](9d17fc9ac1...05b62260ac)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-12 06:43:45 +00: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
dependabot[bot]
74165046e8
Merge pull request #215 from bjorn3/dependabot/cargo/libc-0.2.45 2018-12-11 11:05:42 +00:00
dependabot[bot]
0fbab055d4
Bump libc from 0.2.44 to 0.2.45
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.44 to 0.2.45.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.44...0.2.45)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 10:45:03 +00:00
dependabot[bot]
7f19736fb6
Merge pull request #214 from bjorn3/dependabot/cargo/structopt-0.2.14 2018-12-11 07:45:59 +00:00
dependabot[bot]
eea2cee1c0
Bump structopt from 0.2.13 to 0.2.14
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.2.13 to 0.2.14.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.2.13...v0.2.14)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 07:26:21 +00:00
dependabot[bot]
1438fc0988
Merge pull request #213 from bjorn3/dependabot/cargo/cranelift-9d17fc9 2018-12-11 06:42:24 +00:00
dependabot[bot]
30bc8e7f00
Bump cranelift from 5fc828a to 9d17fc9
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `5fc828a` to `9d17fc9`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](5fc828ab9b...9d17fc9ac1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 05:33:27 +00:00
bjorn3
bd4b307b42 Support dylibs 2018-12-10 15:10:12 +01:00
dependabot[bot]
3441f6b5ba
Merge pull request #208 from bjorn3/dependabot/cargo/serde-1.0.81 2018-12-10 07:40:08 +00:00
dependabot[bot]
3a86904575
Bump serde from 1.0.80 to 1.0.81
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.80...v1.0.81)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 07:18:59 +00:00
bjorn3
2cff2d3328 Rustup to rustc 1.32.0-nightly (4a45578bc 2018-12-07) 2018-12-08 10:48:35 +01:00
dependabot[bot]
108baa65da
Merge pull request #206 from bjorn3/dependabot/cargo/cranelift-5fc828a 2018-12-07 07:11:32 +00:00
dependabot[bot]
ad7c9a388b
Bump cranelift from 077f0e4 to 5fc828a
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `077f0e4` to `5fc828a`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](077f0e4794...5fc828ab9b)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-07 06:23:23 +00:00
bjorn3
bcce08c0c0 Update Cargo.lock 2018-12-04 19:29:57 +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
bjorn3
a8d52d13f4 Some small changes 2018-12-01 11:49:44 +01:00
bjorn3
3f423c0933 Implement cast C enum -> int 2018-11-30 18:28:33 +01:00
bjorn3
e49481d112 Update Cargo.lock 2018-11-30 18:12:08 +01:00