]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoMerge pull request #982 from bjorn3/backtrace_support
bjorn3 [Sat, 25 Apr 2020 16:33:36 +0000 (18:33 +0200)]
Merge pull request #982 from bjorn3/backtrace_support

Implement .eh_frame writing

4 years agoImplement .eh_frame writing
bjorn3 [Sat, 25 Apr 2020 16:23:31 +0000 (18:23 +0200)]
Implement .eh_frame writing

4 years agoImplement line debuginfo for AArch64
bjorn3 [Sat, 25 Apr 2020 12:17:09 +0000 (14:17 +0200)]
Implement line debuginfo for AArch64

4 years agoUpdate Cranelift
bjorn3 [Sat, 25 Apr 2020 09:46:04 +0000 (11:46 +0200)]
Update Cranelift

4 years agoRustup to rustc 1.44.0-nightly (3360cc3a0 2020-04-24)
bjorn3 [Sat, 25 Apr 2020 09:42:46 +0000 (11:42 +0200)]
Rustup to rustc 1.44.0-nightly (3360cc3a0 2020-04-24)

4 years agoMerge pull request #978 from bjorn3/simple_debuginfo_for_arguments
bjorn3 [Sat, 25 Apr 2020 09:32:07 +0000 (11:32 +0200)]
Merge pull request #978 from bjorn3/simple_debuginfo_for_arguments

Generate simple debuginfo for arguments

4 years agoFix function arguments for gdb
bjorn3 [Thu, 23 Apr 2020 14:44:12 +0000 (16:44 +0200)]
Fix function arguments for gdb

4 years agoGenerate simple debuginfo for arguments
bjorn3 [Wed, 22 Apr 2020 12:48:56 +0000 (14:48 +0200)]
Generate simple debuginfo for arguments

4 years agoUpdate dependencies
bjorn3 [Wed, 22 Apr 2020 16:02:50 +0000 (18:02 +0200)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Wed, 22 Apr 2020 16:02:17 +0000 (18:02 +0200)]
Update Cranelift

4 years agoRustup to rustc 1.44.0-nightly (45d050cde 2020-04-21)
bjorn3 [Wed, 22 Apr 2020 15:54:21 +0000 (17:54 +0200)]
Rustup to rustc 1.44.0-nightly (45d050cde 2020-04-21)

Remove the `<Box<F> as FnOnce>::call_once` hack now that rust-lang/rust#71170 is merged.

4 years agoMerge pull request #972 from l4l/debug-file-hash
bjorn3 [Tue, 21 Apr 2020 10:17:46 +0000 (12:17 +0200)]
Merge pull request #972 from l4l/debug-file-hash

Support file hashes in .debug_line

4 years agoUse DWARF version 4 for now
bjorn3 [Tue, 21 Apr 2020 10:13:50 +0000 (12:13 +0200)]
Use DWARF version 4 for now

4 years agoUse md5 dwarf hash, only if all files has it
Kitsu [Mon, 20 Apr 2020 20:27:54 +0000 (23:27 +0300)]
Use md5 dwarf hash, only if all files has it

Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
4 years agoUpdate Cranelift
bjorn3 [Sun, 19 Apr 2020 09:10:00 +0000 (11:10 +0200)]
Update Cranelift

4 years agoFix spelling error in comment (#974)
Serentty [Sun, 19 Apr 2020 08:55:07 +0000 (04:55 -0400)]
Fix spelling error in comment (#974)

4 years agoImplement check mode
bjorn3 [Sat, 18 Apr 2020 19:13:09 +0000 (21:13 +0200)]
Implement check mode

Fixes #973

4 years agoSimplify with make_file_info
Kitsu [Sat, 18 Apr 2020 14:43:00 +0000 (17:43 +0300)]
Simplify with make_file_info

4 years agoAdd some documentation about the debuginfo support of cg_clif
bjorn3 [Sat, 18 Apr 2020 13:57:08 +0000 (15:57 +0200)]
Add some documentation about the debuginfo support of cg_clif

4 years agoSync fn_sig_for_fn_abi with upstream for generator resume args
bjorn3 [Sat, 18 Apr 2020 13:42:49 +0000 (15:42 +0200)]
Sync fn_sig_for_fn_abi with upstream for generator resume args

Fixes #970

4 years agoSimplify FileHash ctor
Kitsu [Sat, 18 Apr 2020 13:33:01 +0000 (16:33 +0300)]
Simplify FileHash ctor

4 years agoDedup file hashing logic with type
Kitsu [Sat, 18 Apr 2020 13:16:17 +0000 (16:16 +0300)]
Dedup file hashing logic with type

4 years agoUse dwarf 3 for osx
Kitsu [Sat, 18 Apr 2020 13:05:20 +0000 (16:05 +0300)]
Use dwarf 3 for osx

4 years agoDon`t include timestamp as debug file info
Kitsu [Sat, 18 Apr 2020 13:02:02 +0000 (16:02 +0300)]
Don`t include timestamp as debug file info

4 years agoSupport file hashes in .debug_line
Kitsu [Sat, 18 Apr 2020 11:56:04 +0000 (14:56 +0300)]
Support file hashes in .debug_line

4 years agoDisable line debuginfo for the AArch64 backend
bjorn3 [Fri, 17 Apr 2020 19:03:43 +0000 (21:03 +0200)]
Disable line debuginfo for the AArch64 backend

4 years agoUse the correct return type for puts
bjorn3 [Fri, 17 Apr 2020 17:33:57 +0000 (19:33 +0200)]
Use the correct return type for puts

4 years agoUse qemu to run tests for AArch64 when using a different host arch
bjorn3 [Fri, 17 Apr 2020 14:54:46 +0000 (16:54 +0200)]
Use qemu to run tests for AArch64 when using a different host arch

4 years agoUpdate Cranelift
bjorn3 [Fri, 17 Apr 2020 12:32:01 +0000 (14:32 +0200)]
Update Cranelift

4 years agoRustup to rustc 1.44.0-nightly (7f3df5772 2020-04-16)
bjorn3 [Fri, 17 Apr 2020 12:26:39 +0000 (14:26 +0200)]
Rustup to rustc 1.44.0-nightly (7f3df5772 2020-04-16)

4 years agoFix saturated_* intrinsics for 128bit ints
bjorn3 [Fri, 17 Apr 2020 12:14:18 +0000 (14:14 +0200)]
Fix saturated_* intrinsics for 128bit ints

Fixes #968

4 years agoFix transmute of non-scalar to scalar
bjorn3 [Thu, 16 Apr 2020 12:27:07 +0000 (14:27 +0200)]
Fix transmute of non-scalar to scalar

Fixes #967

4 years agoMerge pull request #966 from aj-jaswanth/fix/958
bjorn3 [Tue, 14 Apr 2020 16:52:58 +0000 (18:52 +0200)]
Merge pull request #966 from aj-jaswanth/fix/958

Fixes #958: Use session.fatal() instead of assert!

4 years agoFixes #958: Use session.fatal() instead of assert!
Venkata Jaswanth U [Tue, 14 Apr 2020 16:06:28 +0000 (21:36 +0530)]
Fixes #958: Use session.fatal() instead of assert!

4 years agoPre-allocate local_map
bjorn3 [Mon, 13 Apr 2020 17:53:49 +0000 (19:53 +0200)]
Pre-allocate local_map

4 years agoCleanup codegen_terminator_call a bit
bjorn3 [Mon, 13 Apr 2020 17:12:44 +0000 (19:12 +0200)]
Cleanup codegen_terminator_call a bit

4 years agoMerge codegen_call_inner into codegen_terminator_call
bjorn3 [Mon, 13 Apr 2020 15:38:17 +0000 (17:38 +0200)]
Merge codegen_call_inner into codegen_terminator_call

4 years agoDon't use codegen_call_inner in codegen_drop
bjorn3 [Mon, 13 Apr 2020 15:31:35 +0000 (17:31 +0200)]
Don't use codegen_call_inner in codegen_drop

4 years agoRemove one usage of force_stack
bjorn3 [Mon, 13 Apr 2020 12:53:25 +0000 (14:53 +0200)]
Remove one usage of force_stack

4 years agoRustup to rustc 1.44.0-nightly (3712e11a8 2020-04-12)
bjorn3 [Mon, 13 Apr 2020 11:30:39 +0000 (13:30 +0200)]
Rustup to rustc 1.44.0-nightly (3712e11a8 2020-04-12)

4 years agoUpdate dependencies
bjorn3 [Mon, 13 Apr 2020 11:00:44 +0000 (13:00 +0200)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Mon, 13 Apr 2020 10:52:53 +0000 (12:52 +0200)]
Update Cranelift

4 years agoCodegen goto return block as return terminator
bjorn3 [Mon, 30 Mar 2020 16:44:14 +0000 (18:44 +0200)]
Codegen goto return block as return terminator

4 years agoRemove unchecked_cast_to
bjorn3 [Sun, 29 Mar 2020 09:52:30 +0000 (11:52 +0200)]
Remove unchecked_cast_to

4 years agoRemove CPlace::NoPlace
bjorn3 [Sun, 29 Mar 2020 09:51:43 +0000 (11:51 +0200)]
Remove CPlace::NoPlace

4 years agoIntroduce PointerBase::Dangling
bjorn3 [Sat, 28 Mar 2020 16:42:23 +0000 (17:42 +0100)]
Introduce PointerBase::Dangling

4 years agoUse bitcast to transmute where possible
bjorn3 [Sun, 29 Mar 2020 10:03:30 +0000 (12:03 +0200)]
Use bitcast to transmute where possible

4 years agoRustup to rustc 1.44.0-nightly (485c5fb6e 2020-04-08)
bjorn3 [Thu, 9 Apr 2020 11:22:40 +0000 (13:22 +0200)]
Rustup to rustc 1.44.0-nightly (485c5fb6e 2020-04-08)

4 years agoFix rustc::internals lint warnings
bjorn3 [Sun, 5 Apr 2020 12:01:02 +0000 (14:01 +0200)]
Fix rustc::internals lint warnings

4 years agoEnable the rust_2018_idioms and unused_lifetimes lints and fix all warnings
bjorn3 [Sun, 5 Apr 2020 11:48:26 +0000 (13:48 +0200)]
Enable the rust_2018_idioms and unused_lifetimes lints and fix all warnings

They are set to deny by default in the rust-lang/rust repo

4 years agoClarify debug mode vs release mode building in the readme
bjorn3 [Wed, 8 Apr 2020 10:44:10 +0000 (12:44 +0200)]
Clarify debug mode vs release mode building in the readme

4 years agoUpdate the rustc usage section of the readme
bjorn3 [Wed, 8 Apr 2020 10:32:00 +0000 (12:32 +0200)]
Update the rustc usage section of the readme

4 years agoBump libloading from 0.5.2 to 0.6.0 (#957)
dependabot-preview[bot] [Mon, 6 Apr 2020 09:09:01 +0000 (11:09 +0200)]
Bump libloading from 0.5.2 to 0.6.0 (#957)

Bumps [libloading](https://github.com/nagisa/rust_libloading) from 0.5.2 to 0.6.0.
- [Release notes](https://github.com/nagisa/rust_libloading/releases)
- [Commits](https://github.com/nagisa/rust_libloading/compare/0.5.2...0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
4 years agoMerge pull request #954 from bjorn3/dependabot/cargo/cranelift-codegen-9ca3bf5
dependabot-preview[bot] [Mon, 6 Apr 2020 06:01:57 +0000 (06:01 +0000)]
Merge pull request #954 from bjorn3/dependabot/cargo/cranelift-codegen-9ca3bf5

4 years agoBump cranelift-codegen from `20e7185` to `9ca3bf5`
dependabot-preview[bot] [Mon, 6 Apr 2020 05:28:25 +0000 (05:28 +0000)]
Bump cranelift-codegen from `20e7185` to `9ca3bf5`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `20e7185` to `9ca3bf5`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/20e71858a1e5a71a4dbdc563c41e3367f06a04f6...9ca3bf532e2ee225b82ad81067e1cf80a8f212de)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoRemove the trans_const_place and TransPlaceInterpreter hack
bjorn3 [Sat, 4 Apr 2020 17:06:07 +0000 (19:06 +0200)]
Remove the trans_const_place and TransPlaceInterpreter hack

4 years agoRustup to rustc 1.44.0-nightly (537ccdf3a 2020-04-02)
bjorn3 [Fri, 3 Apr 2020 09:54:18 +0000 (11:54 +0200)]
Rustup to rustc 1.44.0-nightly (537ccdf3a 2020-04-02)

4 years agoTake Place by value instead of by reference
bjorn3 [Thu, 2 Apr 2020 15:23:15 +0000 (17:23 +0200)]
Take Place by value instead of by reference

4 years agoRustup to rustc 1.44.0-nightly (76b11980a 2020-04-01)
bjorn3 [Thu, 2 Apr 2020 12:27:51 +0000 (14:27 +0200)]
Rustup to rustc 1.44.0-nightly (76b11980a 2020-04-01)

4 years agoUpdate dependencies
bjorn3 [Wed, 1 Apr 2020 12:14:34 +0000 (14:14 +0200)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Wed, 1 Apr 2020 12:12:46 +0000 (14:12 +0200)]
Update Cranelift

4 years agoUpdate actions-rs/cargo
bjorn3 [Tue, 31 Mar 2020 19:11:16 +0000 (21:11 +0200)]
Update actions-rs/cargo

4 years agoUpdate Cranelift
bjorn3 [Tue, 31 Mar 2020 12:13:38 +0000 (14:13 +0200)]
Update Cranelift

4 years agoFix opt level names
bjorn3 [Tue, 31 Mar 2020 12:13:03 +0000 (14:13 +0200)]
Fix opt level names

4 years agoRustup to rustc 1.44.0-nightly (211365947 2020-03-30)
bjorn3 [Tue, 31 Mar 2020 11:20:19 +0000 (13:20 +0200)]
Rustup to rustc 1.44.0-nightly (211365947 2020-03-30)

4 years agoMerge pull request #946 from bjorn3/dependabot/cargo/cranelift-codegen-cd900d7
dependabot-preview[bot] [Mon, 30 Mar 2020 17:27:03 +0000 (17:27 +0000)]
Merge pull request #946 from bjorn3/dependabot/cargo/cranelift-codegen-cd900d7

4 years agoRustup to rustc 1.44.0-nightly (699f83f52 2020-03-29)
bjorn3 [Mon, 30 Mar 2020 17:00:24 +0000 (19:00 +0200)]
Rustup to rustc 1.44.0-nightly (699f83f52 2020-03-29)

4 years agoBump cranelift-codegen from `08e5484` to `cd900d7`
dependabot-preview[bot] [Mon, 30 Mar 2020 16:50:32 +0000 (16:50 +0000)]
Bump cranelift-codegen from `08e5484` to `cd900d7`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `08e5484` to `cd900d7`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/08e5484cdb158b7795587ff7ad0cb04beef6dcd3...cd900d72db7b0ab3e16cf41e63d13828e4c48712)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoUpdate errno
bjorn3 [Sat, 28 Mar 2020 13:20:53 +0000 (14:20 +0100)]
Update errno

4 years agoRustup to rustc 1.44.0-nightly (75208942f 2020-03-27)
bjorn3 [Sat, 28 Mar 2020 13:20:24 +0000 (14:20 +0100)]
Rustup to rustc 1.44.0-nightly (75208942f 2020-03-27)

4 years agoUpdate Cranelift
bjorn3 [Sat, 28 Mar 2020 13:01:48 +0000 (14:01 +0100)]
Update Cranelift

4 years agoUse 16bit simd indices
bjorn3 [Fri, 27 Mar 2020 15:42:28 +0000 (16:42 +0100)]
Use 16bit simd indices

4 years agoUse vector icmp in simd_cmp! when possible
bjorn3 [Fri, 27 Mar 2020 15:41:05 +0000 (16:41 +0100)]
Use vector icmp in simd_cmp! when possible

4 years agoAvoid using select in bool_to_zero_or_max_uint
bjorn3 [Fri, 27 Mar 2020 15:04:34 +0000 (16:04 +0100)]
Avoid using select in bool_to_zero_or_max_uint

It legalizes to a branch

4 years agoLimit publicness to crate where possible and remove unused imports
bjorn3 [Fri, 27 Mar 2020 11:14:45 +0000 (12:14 +0100)]
Limit publicness to crate where possible and remove unused imports

4 years agoFix warnings
bjorn3 [Tue, 24 Mar 2020 12:41:19 +0000 (13:41 +0100)]
Fix warnings

4 years agoUpdate dependencies
bjorn3 [Tue, 24 Mar 2020 12:20:26 +0000 (13:20 +0100)]
Update dependencies

4 years agoUpdate Cranelift and object
bjorn3 [Tue, 24 Mar 2020 12:17:03 +0000 (13:17 +0100)]
Update Cranelift and object

4 years agoRustup to rustc 1.44.0-nightly (1edd389cc 2020-03-23)
bjorn3 [Tue, 24 Mar 2020 12:09:44 +0000 (13:09 +0100)]
Rustup to rustc 1.44.0-nightly (1edd389cc 2020-03-23)

4 years agoMerge pull request #928 from bjorn3/dependabot/cargo/cranelift-codegen-c202a8e
dependabot-preview[bot] [Mon, 23 Mar 2020 05:44:50 +0000 (05:44 +0000)]
Merge pull request #928 from bjorn3/dependabot/cargo/cranelift-codegen-c202a8e

4 years agoBump cranelift-codegen from `1c55eb1` to `c202a8e`
dependabot-preview[bot] [Mon, 23 Mar 2020 05:22:45 +0000 (05:22 +0000)]
Bump cranelift-codegen from `1c55eb1` to `c202a8e`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `1c55eb1` to `c202a8e`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/1c55eb1a8bba9e59df604a0df2b6552dd54e76a7...c202a8eeaf8f72a5e87d50ac2f0d58c9170b3488)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years ago[ci] Remove Travis CI
bjorn3 [Sat, 21 Mar 2020 15:54:48 +0000 (16:54 +0100)]
[ci] Remove Travis CI

This completes the switch to github actions

4 years agoFix some FIXME's and add some new FIXME's
bjorn3 [Sat, 21 Mar 2020 15:52:02 +0000 (16:52 +0100)]
Fix some FIXME's and add some new FIXME's

4 years agoAvoid u/i*::{min.max}_value()
bjorn3 [Fri, 20 Mar 2020 15:29:05 +0000 (16:29 +0100)]
Avoid u/i*::{min.max}_value()

They will be deprecated in the future

4 years agoAdd clif ir comments for stack2reg opt
bjorn3 [Fri, 20 Mar 2020 11:18:40 +0000 (12:18 +0100)]
Add clif ir comments for stack2reg opt

4 years agoUpdate dependencies
bjorn3 [Thu, 19 Mar 2020 12:54:38 +0000 (13:54 +0100)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Thu, 19 Mar 2020 11:09:21 +0000 (12:09 +0100)]
Update Cranelift

4 years agoFix it
bjorn3 [Wed, 18 Mar 2020 19:33:29 +0000 (20:33 +0100)]
Fix it

4 years agoRustup to rustc 1.44.0-nightly (7ceebd98c 2020-03-17)
bjorn3 [Wed, 18 Mar 2020 19:05:57 +0000 (20:05 +0100)]
Rustup to rustc 1.44.0-nightly (7ceebd98c 2020-03-17)

4 years agoSimplify handling of unimplemented stuff
bjorn3 [Tue, 17 Mar 2020 15:26:56 +0000 (16:26 +0100)]
Simplify handling of unimplemented stuff

4 years ago[debuginfo] Fix map_reg
bjorn3 [Tue, 17 Mar 2020 14:30:32 +0000 (15:30 +0100)]
[debuginfo] Fix map_reg

4 years agoFix intrinsic name
bjorn3 [Tue, 17 Mar 2020 14:12:15 +0000 (15:12 +0100)]
Fix intrinsic name

4 years ago[gh actions] Run the compile step with the same arguments as test.sh
bjorn3 [Tue, 17 Mar 2020 14:07:55 +0000 (15:07 +0100)]
[gh actions] Run the compile step with the same arguments as test.sh

4 years agoRename try intrinsic argument to match upstream
bjorn3 [Tue, 17 Mar 2020 13:53:32 +0000 (14:53 +0100)]
Rename try intrinsic argument to match upstream

4 years agoRustup to rustc 1.43.0-nightly (dd6718796 2020-03-16)
bjorn3 [Tue, 17 Mar 2020 13:52:06 +0000 (14:52 +0100)]
Rustup to rustc 1.43.0-nightly (dd6718796 2020-03-16)

4 years agoMerge pull request #922 from bjorn3/dependabot/cargo/cranelift-codegen-e2f6c08
dependabot-preview[bot] [Mon, 16 Mar 2020 05:42:23 +0000 (05:42 +0000)]
Merge pull request #922 from bjorn3/dependabot/cargo/cranelift-codegen-e2f6c08

4 years agoBump cranelift-codegen from `fbe29da` to `e2f6c08`
dependabot-preview[bot] [Mon, 16 Mar 2020 05:11:04 +0000 (05:11 +0000)]
Bump cranelift-codegen from `fbe29da` to `e2f6c08`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `fbe29da` to `e2f6c08`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/fbe29da5cc1c0847af176f151f114a6a535534ff...e2f6c0805231daa0524d7c770d11ced6dfe961a2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoRemove unused import
bjorn3 [Sun, 15 Mar 2020 18:52:41 +0000 (19:52 +0100)]
Remove unused import

4 years agoUpdate links for the merge of the Cranelift and Wasmtime repos
bjorn3 [Sat, 14 Mar 2020 19:52:20 +0000 (20:52 +0100)]
Update links for the merge of the Cranelift and Wasmtime repos

4 years agoPre-allocate vec for rlib metadata reading
bjorn3 [Sat, 14 Mar 2020 18:01:47 +0000 (19:01 +0100)]
Pre-allocate vec for rlib metadata reading

Reduces the time spent during the copy from ~9% to ~1% for helloworld

cc #878