Commit graph

1103 commits

Author SHA1 Message Date
dependabot-preview[bot]
83b2b0fa8b
Bump cranelift from f3f7cad to 1eb92b1
Bumps [cranelift](https://github.com/CraneStation/cranelift) from `f3f7cad` to `1eb92b1`.
- [Release notes](https://github.com/CraneStation/cranelift/releases)
- [Commits](f3f7cadd01...1eb92b193d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-24 04:58:50 +00:00
bjorn3
db5ffdedf7 Implement bswap intrinsic 2019-06-23 17:32:32 +02:00
bjorn3
d425116bdc Implement some intrinsics 2019-06-23 16:36:14 +02:00
bjorn3
d7274ac5fd Fix load and store for ByValPair values with differently sized components 2019-06-23 15:23:06 +02:00
bjorn3
05307af672 Remove some unnecessary patches
cc #337
2019-06-23 11:22:16 +02:00
bjorn3
dd15051f5a Rustup to rustc 1.37.0-nightly (de02101e6 2019-06-22) 2019-06-23 10:47:16 +02:00
bjorn3
2b61f90c71 Fix returning non ZST uninhabited types 2019-06-16 18:03:38 +02:00
bjorn3
01e9303857 Fix SetDiscriminant for generators 2019-06-16 18:01:46 +02:00
bjorn3
bd73128d2e Implement lt, le, ge and gt for fat pointers 2019-06-16 17:59:31 +02:00
bjorn3
c0779d5d1d Add comments for trap::codegen_print gv and fn defs 2019-06-16 17:40:46 +02:00
bjorn3
2eae6bc879 Make a link less prone to breaking 2019-06-16 17:28:29 +02:00
bjorn3
76a178098d Refactor drop codegen 2019-06-16 15:57:53 +02:00
bjorn3
f8c5e10f26 Fix compiling in release mode 2019-06-16 14:47:01 +02:00
bjorn3
5b70fd6430 Update dependencies 2019-06-16 14:39:23 +02:00
bjorn3
3f15b0a24b Implement scalar pair abi pass mode 2019-06-16 12:54:37 +02:00
bjorn3
65bc1e5b5b Fix write_cvalue for ByValPair when the cvalue is not trivially a pair
`write_cvalue` didn't work for `Box<[u8]>`, because the inner fat ptr
was wrapped inside a newtype, which meant `Box<[u8]>` itself only had
one field.

This also simplifies `CValue::force_stack` by reusing `write_cvalue`
when it is not already on the stack.
2019-06-16 12:51:16 +02:00
bjorn3
4d406cdcad Rustup to rustc 1.37.0-nightly (0dc9e9c10 2019-06-15) 2019-06-16 11:13:49 +02:00
bjorn3
80ab0cac3c Apply rust-lang pr61828 to fix sysroot building 2019-06-14 19:33:08 +02:00
bjorn3
6d1bc088a7 Rustup to rustc 1.37.0-nightly (2887008e0 2019-06-12) 2019-06-13 20:44:40 +02:00
bjorn3
5e2ea4f194 Fix debuginfo generation when given source path doesn't contain a dir (eg plain lib.rs) 2019-06-12 18:30:27 +02:00
dependabot-preview[bot]
ec05bcee29 Bump region from 2.1.0 to 2.1.1 (#606)
Bumps [region](https://github.com/darfink/region-rs) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/darfink/region-rs/releases)
- [Commits](https://github.com/darfink/region-rs/compare/2.1.0...2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-12 17:06:15 +02:00
dependabot-preview[bot]
87113588c7 Bump miniz-sys from 0.1.11 to 0.1.12 (#607)
Bumps [miniz-sys](https://github.com/alexcrichton/flate2-rs) from 0.1.11 to 0.1.12.
- [Release notes](https://github.com/alexcrichton/flate2-rs/releases)
- [Commits](https://github.com/alexcrichton/flate2-rs/compare/miniz-sys-0.1.11...miniz-sys-0.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-12 17:05:50 +02:00
bjorn3
44a98df8c2 Remove workaround for previously missing encoding 2019-06-11 17:24:11 +02:00
bjorn3
db851945ea
Merge pull request #435 from bjorn3/write_dylib_metadata
Read and write dylib metadata
2019-06-11 17:22:22 +02:00
bjorn3
44a3550799 Cleanup 2019-06-11 16:59:42 +02:00
bjorn3
07bb89a02d Fix it 2019-06-11 16:57:59 +02:00
bjorn3
aa48c1482a [WIP] 2019-06-11 16:46:36 +02:00
bjorn3
893945bd71 Update for faerie section symbols 2019-06-11 16:45:15 +02:00
bjorn3
4ade746333 [WIP] Add section symbol for mach-O 2019-06-11 16:45:15 +02:00
bjorn3
847a37fedc Only write metadata module when necessary 2019-06-11 16:45:14 +02:00
bjorn3
805e270910 [WIP] 2019-06-11 16:45:14 +02:00
bjorn3
1bea823069 [DEBUG] Add objdump invocation 2019-06-11 16:45:14 +02:00
bjorn3
8dae241368 [WIP] Use correct segment for metadata section 2019-06-11 16:45:14 +02:00
bjorn3
e8c50cf2c2 Read and write dylib metadata 2019-06-11 16:45:14 +02:00
bjorn3
8fb70f259f Move layout out of the enum for CValue 2019-06-11 16:41:40 +02:00
bjorn3
089e75ec42 Encapsulate CPlace constructors 2019-06-11 16:30:47 +02:00
bjorn3
3f04e73b40 Use CValue::by_val{,_pair} at more places 2019-06-11 16:25:07 +02:00
bjorn3
466ecad2f0 Move CValue and CPlace to separate file and remove duplicate scalar_to_clif_type 2019-06-11 15:43:22 +02:00
bjorn3
d6e07cfcc8 Encapsulate CValue and CPlace creation 2019-06-11 15:32:30 +02:00
bjorn3
18b78d116a Update dependencies 2019-06-11 15:21:05 +02:00
bjorn3
e8767b04ac Update Cargo.lock 2019-06-09 15:34:44 +02:00
bjorn3
165314bac9 Update cranelift 2019-06-09 15:27:37 +02:00
bjorn3
d8d405e85b Rustup to rustc 1.37.0-nightly (991c719a1 2019-06-08) 2019-06-09 15:16:45 +02:00
bjorn3
4b5bb3302b Pretty print non local mir bodies too on panic 2019-06-08 20:41:15 +02:00
dependabot-preview[bot]
137bfd044d
Merge pull request #594 from bjorn3/dependabot/cargo/bitflags-1.1.0 2019-06-08 08:07:40 +00:00
dependabot-preview[bot]
a91625bdbb
Bump bitflags from 1.0.4 to 1.1.0
Bumps [bitflags](https://github.com/bitflags/bitflags) from 1.0.4 to 1.1.0.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/1.0.4...1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-08 07:43:58 +00:00
bjorn3
161c8aa5cf Rustup to rustc 1.37.0-nightly (7cdaffd79 2019-06-05) 2019-06-06 20:31:09 +02:00
bjorn3
d3dbf358ae Rustup to rustc 1.37.0-nightly (03ee55bb1 2019-06-01) 2019-06-02 12:06:02 +02:00
bjorn3
37708ada2c Update dependencies 2019-06-02 12:05:48 +02:00
bjorn3
b625e56488 Rustup to rustc 1.37.0-nightly (3ade426ed 2019-05-30) 2019-05-31 10:56:55 +02:00