bjorn3
f8c5e10f26
Fix compiling in release mode
2019-06-16 14:47:01 +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
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
bjorn3
44a98df8c2
Remove workaround for previously missing encoding
2019-06-11 17:24:11 +02:00
bjorn3
07bb89a02d
Fix it
2019-06-11 16:57:59 +02:00
bjorn3
893945bd71
Update for faerie section symbols
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
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
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
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
b625e56488
Rustup to rustc 1.37.0-nightly (3ade426ed 2019-05-30)
2019-05-31 10:56:55 +02:00
bjorn3
610f377b7d
Rustup to rustc 1.36.0-nightly (f49269398 2019-05-25)
2019-05-26 10:20:35 +02:00
bjorn3
d078fde07a
Rustup to rustc 1.36.0-nightly (dec4c5201 2019-05-24)
2019-05-25 12:30:21 +02:00
bjorn3
5593bc8cd3
Update cranelift
2019-05-14 16:12:58 +02:00
bjorn3
0046ce4c85
Partial support for wasm32-unknown-wasi as host triple
...
This needs a rustc compiled for wasi (see rust-lang/miri#722 )
It also needs CraneStation/target-lexicon#14
2019-05-11 12:23:40 +02:00
bjorn3
2aeffa679a
Rustup to rustc 1.36.0-nightly (cfdc84a00 2019-05-07)
2019-05-08 20:05:01 +02:00
bjorn3
bb7a990ee7
Extract driver.rs
2019-05-04 16:54:25 +02:00
bjorn3
7bf9b8e6e1
Update gimli
2019-05-04 16:20:43 +02:00
bjorn3
98dae86d21
Update cranelift
2019-05-04 16:15:20 +02:00
bjorn3
8598a34e45
Rustup to rustc 1.36.0-nightly (a3404557c 2019-05-03)
2019-05-04 14:57:41 +02:00
bjorn3
f473ba8f87
Rustup to rustc 1.36.0-nightly (938d4ffe1 2019-04-27)
2019-04-28 20:37:44 +02:00
bjorn3
27ea27e2e3
Fix using using the same vtable twice
2019-04-27 18:49:13 +02:00
bjorn3
aeecb45beb
Preserve the order files are added to archives
...
rust.metadata.bin could have been at the start of an .rlib file confusing ld
2019-04-27 17:47:15 +02:00
bjorn3
11d816cce5
Rustup to rustc 1.36.0-nightly (597f43248 2019-04-26)
2019-04-27 17:44:12 +02:00
bjorn3
9f6a65b08b
Update comment
2019-04-24 21:08:11 +02:00
bjorn3
746e5c5142
Remove some debug println's
2019-04-24 20:57:36 +02:00
bjorn3
f096ad14a3
Change module names back
2019-04-24 20:54:01 +02:00
bjorn3
7ab8dda160
Fix gnu archives
2019-04-24 20:50:23 +02:00
bjorn3
e8db15f662
Fix filename length for ar files
2019-04-24 19:00:21 +02:00
bjorn3
103f2faa1a
[WIP] Try using GnuBuilder
2019-04-24 19:00:21 +02:00
bjorn3
472b591f90
Use rustc_codegen_ssa: 🔙 :link instead of copy pasted version
2019-04-24 19:00:21 +02:00
bjorn3
8c2bd3ec64
Rustup to rustc 1.36.0-nightly (e938c2b9a 2019-04-23)
2019-04-24 16:35:00 +02:00
bjorn3
004dc33031
Refactor archive.rs for future usage of ar::GnuBuilder
2019-04-21 14:59:05 +02:00
bjorn3
3fedac85e7
Let the ArArchiveBuilder implement cg_ssa: 🔙 :archive::ArchiveBuilder
2019-04-21 14:57:55 +02:00
bjorn3
cc0804e815
Rustup to rustc 1.36.0-nightly (33fe1131c 2019-04-20)
2019-04-21 14:41:23 +02:00
bjorn3
5d3fbdd68e
Use more rustc_codegen_ssa: 🔙 :link for linking
2019-04-20 17:35:58 +02:00
bjorn3
dd21922f31
Rustup to rustc 1.36.0-nightly (3c3d3c177 2019-04-17)
2019-04-18 19:06:59 +02:00
bjorn3
de792ad690
Rustup to rustc 1.35.0-nightly (aa99abeb2 2019-04-14)
2019-04-15 16:34:16 +02:00
bjorn3
c0ffc422ab
Print message when reaching trap
2019-04-10 17:56:44 +02:00