Commit Graph

2081 Commits

Author SHA1 Message Date
bjorn3
ecd9c4f2e3 FIx review comments 2019-10-19 10:52:56 +02:00
bjorn3
0471ed2776 Add support for object::write 2019-10-18 18:31:38 +02:00
bjorn3
5873127ec2 Make debuginfo writing backend agnostic 2019-10-18 18:31:38 +02:00
bjorn3
f9ff604d96 Make dylib metadata write backend agnostic 2019-10-18 18:31:38 +02:00
bjorn3
8243a370d2 Rustup to rustc 1.40.0-nightly (fa0f7d008 2019-10-17) 2019-10-18 18:31:26 +02:00
bjorn3
0934dc84fd Update dependencies 2019-10-16 19:13:11 +02:00
bjorn3
59893d899f Update Cranelift 2019-10-16 19:01:39 +02:00
bjorn3
f0c774e05d Rustup to rustc 1.40.0-nightly (237d54ff6 2019-10-15) 2019-10-16 18:43:52 +02:00
bjorn3
fc261aa2f5 Update Cranelift 2019-10-09 20:34:25 +02:00
dependabot-preview[bot]
e948c1b672 Bump miniz_oxide from 0.3.2 to 0.3.3 (#744)
Bumps [miniz_oxide](https://github.com/Frommi/miniz_oxide) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/Frommi/miniz_oxide/releases)
- [Commits](https://github.com/Frommi/miniz_oxide/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-07 19:43:48 +02:00
bjorn3
82fde5b622 Remove bitflags dependency 2019-10-06 17:52:23 +02:00
bjorn3
75db7cc49d Remove logfile support from unimpl.rs
I haven't used it in months
2019-10-06 17:36:15 +02:00
bjorn3
6129921529 More 128bit support
* UnOp::Neg
* ctpop
* bitreverse

Also replaces `if let Some(64u128) = ...` with `if ... = Some(u64u128)`
to be able to compile cg_clif using cg_clif, as cranelift_frontend::Switch
doesn't support i128 yet.
2019-10-06 15:51:43 +02:00
bjorn3
b5d29a8c58 Rustup to rustc 1.40.0-nightly (787005079 2019-10-04) 2019-10-06 10:41:15 +02:00
bjorn3
8bb81fdc3b Update dependencies 2019-10-04 21:11:58 +02:00
bjorn3
a31ec018e8 Update Cranelift 2019-10-04 21:11:00 +02:00
bjorn3
b0de88b741 Use DisplayFunctionAnnotations::default() 2019-10-04 14:57:07 +02:00
bjorn3
721fe3b43c Predefine all local functions before codegen
Otherwise only calls to previously codegened functions use relative
addressing instead of the GOT

Fixes #692
2019-10-04 14:45:53 +02:00
dependabot-preview[bot]
39796d162e Bump cranelift from c7fd5d9 to ee6fe21 (#742)
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `c7fd5d9` to `ee6fe21`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](c7fd5d9a47...ee6fe21f92)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 20:30:18 +02:00
bjorn3
3855a9098a
Merge pull request #729 from bjorn3/misc_changes
Update cranelift and use crates.io version of gimli
2019-10-03 19:20:34 +02:00
bjorn3
58a9b648e8 Update cranelift, faerie and target-lexicon 2019-10-03 18:55:01 +02:00
bjorn3
8cee28db3e Switch back to crates.io version of gimli
Fixes #727
2019-10-03 18:54:30 +02:00
bjorn3
0f938f68a5 Rustup to rustc 1.40.0-nightly (2daa404e9 2019-10-02) 2019-10-03 17:22:01 +02:00
bjorn3
e676998b61 Rustup to rustc 1.40.0-nightly (084beb83e 2019-09-27) 2019-10-03 16:24:06 +02:00
bjorn3
1b6706c924 Call cg_ssa::base::provide_both in provide{,_extern} 2019-09-28 17:01:17 +02:00
bjorn3
0db605040e Use CallConv::triple_default instead of hard coding SystemV
Fixes #718
2019-09-28 17:00:27 +02:00
bjorn3
44792f1089 Rustup to rustc 1.40.0-nightly (084beb83e 2019-09-27) 2019-09-28 14:06:12 +02:00
dependabot-preview[bot]
cbd65b24d5 Bump gimli from 1f1a9eb to 7e76a9d (#722)
Bumps [gimli](https://github.com/gimli-rs/gimli) from `1f1a9eb` to `7e76a9d`.
- [Release notes](https://github.com/gimli-rs/gimli/releases)
- [Commits](1f1a9eb239...7e76a9d566)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 12:00:04 +02:00
dependabot-preview[bot]
e64ff47681 Bump adler32 from 1.0.3 to 1.0.4 (#721)
Bumps [adler32](https://github.com/remram44/adler32-rs) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/remram44/adler32-rs/releases)
- [Commits](https://github.com/remram44/adler32-rs/compare/1.0.3...1.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 11:59:35 +02:00
dependabot-preview[bot]
3d87b5c576 Bump serde from 1.0.100 to 1.0.101 (#725)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-24 11:59:13 +02:00
bjorn3
1e5cea09d5 Add profile code around metadata object generation
cc #719
2019-09-22 16:47:45 +02:00
bjorn3
a1bf96f630 Wrap linker invocation in time() 2019-09-22 16:21:00 +02:00
bjorn3
dbeca50901 Misc cleanup 2019-09-22 16:05:22 +02:00
bjorn3
3a7aa6c0fa Reduce time required to build from scratch in dev mode
* Disable wasm reading of object
* Use tempfile bundled with rustc
* Don't optimize and don't generate debuginfo for build scripts and some
  build deps

Before: 354s (5m 45s)
After: 207s (3m 27s)
2019-09-21 14:27:45 +02:00
bjorn3
f2c574aebf Add extern type pointer cast tests 2019-09-21 11:32:11 +02:00
bjorn3
fdfb1eda2c Rustup to rustc 1.39.0-nightly (97e58c0d3 2019-09-20) 2019-09-21 11:30:29 +02:00
bjorn3
2e2c8f8bbf
Update Readme.md 2019-09-20 09:54:23 +02:00
bjorn3
0f8814fd6d
Merge pull request #714 from bjorn3/dependabot/cargo/rand-0.7.1
Bump rand from 0.7.0 to 0.7.1
2019-09-16 09:37:28 +02:00
dependabot-preview[bot]
190f364156
Merge pull request #715 from bjorn3/dependabot/cargo/cranelift-8945b82 2019-09-16 05:47:55 +00:00
dependabot-preview[bot]
a9ff5d91aa
Bump cranelift from 4c7e3c3 to 8945b82
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `4c7e3c3` to `8945b82`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](4c7e3c3f1e...8945b82f92)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 04:54:31 +00:00
dependabot-preview[bot]
41a54f584a
Bump rand from 0.7.0 to 0.7.1
Bumps [rand](https://github.com/rust-random/rand) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.7.0...0.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-16 04:54:02 +00:00
bjorn3
77d33c1707 Fix trans_ptr_binop for fn() 2019-09-15 18:35:56 +02:00
bjorn3
c34ada7cca Fix foreign type handling 2019-09-14 17:53:36 +02:00
bjorn3
b267995f39 Cleanup 2019-09-14 15:15:06 +02:00
bjorn3
554a1aa0ba Reenable debug assertions for libstd on macOS
m4b/faerie#91 has been merged
2019-09-14 12:49:23 +02:00
bjorn3
8f12b87542 Implement shl and shr overflow checks
cc #6
2019-09-14 12:13:23 +02:00
bjorn3
6ea4cbdf1b Rustup to rustc 1.39.0-nightly (a6946a817 2019-09-13) 2019-09-14 11:21:18 +02:00
bjorn3
1558bf94e5
Merge pull request #709 from bjorn3/updates
Update rustc and dependencies
2019-09-13 21:21:26 +02:00
bjorn3
af4009d8c8 Rustup to rustc 1.39.0-nightly (eb48d6bde 2019-09-12) 2019-09-13 21:03:26 +02:00
bjorn3
3ee184f2aa Update object to 0.14.0 2019-09-13 20:44:48 +02:00