]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoRemove all non-tcx references from CodegenCx
bjorn3 [Fri, 12 Jun 2020 19:15:13 +0000 (21:15 +0200)]
Remove all non-tcx references from CodegenCx

4 years agoEmit unwind info for main and alloc shim
bjorn3 [Fri, 12 Jun 2020 17:31:35 +0000 (19:31 +0200)]
Emit unwind info for main and alloc shim

Fixes #988

4 years agoUpdate dependencies
bjorn3 [Fri, 12 Jun 2020 17:11:40 +0000 (19:11 +0200)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Fri, 12 Jun 2020 17:07:04 +0000 (19:07 +0200)]
Update Cranelift

4 years agoRustup to rustc 1.46.0-nightly (a37c32e2d 2020-06-11)
bjorn3 [Fri, 12 Jun 2020 16:41:50 +0000 (18:41 +0200)]
Rustup to rustc 1.46.0-nightly (a37c32e2d 2020-06-11)

4 years agoRustup to rustc 1.46.0-nightly (449e8eaa2 2020-06-10)
bjorn3 [Thu, 11 Jun 2020 11:12:35 +0000 (13:12 +0200)]
Rustup to rustc 1.46.0-nightly (449e8eaa2 2020-06-10)

4 years agoMerge pull request #1040 from bjorn3/dependabot/cargo/cranelift-codegen-4bb5894
dependabot-preview[bot] [Mon, 8 Jun 2020 06:15:26 +0000 (06:15 +0000)]
Merge pull request #1040 from bjorn3/dependabot/cargo/cranelift-codegen-4bb5894

4 years agoBump cranelift-codegen from `00abfcd` to `4bb5894`
dependabot-preview[bot] [Mon, 8 Jun 2020 05:26:17 +0000 (05:26 +0000)]
Bump cranelift-codegen from `00abfcd` to `4bb5894`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `00abfcd` to `4bb5894`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/00abfcd943fdef8af5c8b2afed09e7ecef512b02...4bb58940c74c37bdba8630810645cbd41dd0ff7e)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoUpdate dependencies
bjorn3 [Fri, 5 Jun 2020 10:43:42 +0000 (12:43 +0200)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Fri, 5 Jun 2020 10:40:33 +0000 (12:40 +0200)]
Update Cranelift

4 years agoRemove sign extension for ty::Int from CValue::const_val
bjorn3 [Fri, 5 Jun 2020 10:16:05 +0000 (12:16 +0200)]
Remove sign extension for ty::Int from CValue::const_val

4 years agoRustup to rustc 1.45.0-nightly (56daaf669 2020-06-03)
bjorn3 [Thu, 4 Jun 2020 17:57:12 +0000 (19:57 +0200)]
Rustup to rustc 1.45.0-nightly (56daaf669 2020-06-03)

4 years agoMerge pull request #1022 from osa1/clif_dump_in_release_mode
bjorn3 [Fri, 29 May 2020 09:12:02 +0000 (11:12 +0200)]
Merge pull request #1022 from osa1/clif_dump_in_release_mode

Dump clif with --emit llvm-ir in release mode

4 years agoMark blocks that call cold funs as cold (#1021)
Ömer Sinan Ağacan [Fri, 29 May 2020 09:06:29 +0000 (12:06 +0300)]
Mark blocks that call cold funs as cold (#1021)

4 years agoUpdate src/pretty_clif.rs
Ömer Sinan Ağacan [Fri, 29 May 2020 08:53:58 +0000 (11:53 +0300)]
Update src/pretty_clif.rs

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
4 years agoDump clif with --emit llvm-ir in release mode
Ömer Sinan Ağacan [Fri, 29 May 2020 04:25:28 +0000 (07:25 +0300)]
Dump clif with --emit llvm-ir in release mode

Currently it's not possible to dump llvm-ir in release build. With this
patch we allow it with `--emit llvm-ir`. In debug build we dump clif
always as before.

Fixes #1020

4 years agoAdd simple-raytracer to .gitignore (#1023)
Ömer Sinan Ağacan [Fri, 29 May 2020 06:48:00 +0000 (09:48 +0300)]
Add simple-raytracer to .gitignore (#1023)

4 years agoRemove already fixed FIXME in driver/jit.rs
bjorn3 [Wed, 27 May 2020 09:08:41 +0000 (11:08 +0200)]
Remove already fixed FIXME in driver/jit.rs

4 years agoUpdate depencencies
bjorn3 [Mon, 25 May 2020 11:08:50 +0000 (13:08 +0200)]
Update depencencies

4 years agoUpdate Cranelift
bjorn3 [Mon, 25 May 2020 11:04:36 +0000 (13:04 +0200)]
Update Cranelift

4 years agoDisable failing libcore test
bjorn3 [Mon, 25 May 2020 11:00:15 +0000 (13:00 +0200)]
Disable failing libcore test

4 years agoRustup to rustc 1.45.0-nightly (46e85b432 2020-05-24)
bjorn3 [Mon, 18 May 2020 09:35:23 +0000 (11:35 +0200)]
Rustup to rustc 1.45.0-nightly (46e85b432 2020-05-24)

4 years ago[CI] Hash Cargo.lock in addition to toolchain for target dir cache
bjorn3 [Sun, 10 May 2020 15:36:13 +0000 (17:36 +0200)]
[CI] Hash Cargo.lock in addition to toolchain for target dir cache

4 years agoUpdate dependencies
bjorn3 [Sun, 10 May 2020 13:35:32 +0000 (15:35 +0200)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Sun, 10 May 2020 13:18:26 +0000 (15:18 +0200)]
Update Cranelift

4 years agoRustup to rustc 1.45.0-nightly (7ebd87a7a 2020-05-08)
bjorn3 [Sat, 9 May 2020 12:14:45 +0000 (14:14 +0200)]
Rustup to rustc 1.45.0-nightly (7ebd87a7a 2020-05-08)

4 years agoImprovements for latest Cranelift
bjorn3 [Tue, 5 May 2020 10:16:28 +0000 (12:16 +0200)]
Improvements for latest Cranelift

4 years agoDocument running rust code from the shell
bjorn3 [Tue, 5 May 2020 10:06:15 +0000 (12:06 +0200)]
Document running rust code from the shell

4 years agoSet RUSTDOCFLAGS
bjorn3 [Tue, 5 May 2020 10:03:27 +0000 (12:03 +0200)]
Set RUSTDOCFLAGS

Fixes #969

4 years agoMerge pull request #989 from bjorn3/dependabot/cargo/cranelift-codegen-c284ffe
dependabot-preview[bot] [Mon, 4 May 2020 05:45:44 +0000 (05:45 +0000)]
Merge pull request #989 from bjorn3/dependabot/cargo/cranelift-codegen-c284ffe

4 years agoBump cranelift-codegen from `ebd13ce` to `c284ffe`
dependabot-preview[bot] [Mon, 4 May 2020 05:27:24 +0000 (05:27 +0000)]
Bump cranelift-codegen from `ebd13ce` to `c284ffe`

Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from `ebd13ce` to `c284ffe`.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/ebd13cee05192d36ad7f62740f2215e1845d9f8b...c284ffe6c036b8058228d576c46688968629b48c)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoRegister frame table in JIT mode
bjorn3 [Fri, 1 May 2020 18:57:51 +0000 (20:57 +0200)]
Register frame table in JIT mode

4 years agoAlways emit .eh_frame section
bjorn3 [Fri, 1 May 2020 17:21:29 +0000 (19:21 +0200)]
Always emit .eh_frame section

4 years agoRustup to rustc 1.45.0-nightly (7ced01a73 2020-04-30)
bjorn3 [Fri, 1 May 2020 15:51:51 +0000 (17:51 +0200)]
Rustup to rustc 1.45.0-nightly (7ced01a73 2020-04-30)

4 years agoCommit missing change for rustup
bjorn3 [Thu, 30 Apr 2020 14:12:33 +0000 (16:12 +0200)]
Commit missing change for rustup

4 years agoRustup to rustc 1.45.0-nightly (fa51f810e 2020-04-29)
bjorn3 [Thu, 30 Apr 2020 09:28:48 +0000 (11:28 +0200)]
Rustup to rustc 1.45.0-nightly (fa51f810e 2020-04-29)

4 years agoRemove some unused files
bjorn3 [Wed, 29 Apr 2020 11:49:38 +0000 (13:49 +0200)]
Remove some unused files

4 years agoUpdate dependencies
bjorn3 [Mon, 27 Apr 2020 09:57:09 +0000 (11:57 +0200)]
Update dependencies

4 years agoRustup to rustc 1.45.0-nightly (e83f75634 2020-04-26)
bjorn3 [Mon, 27 Apr 2020 09:54:17 +0000 (11:54 +0200)]
Rustup to rustc 1.45.0-nightly (e83f75634 2020-04-26)

4 years agoCall panic lang item on failed TerminatorKind::Assert
bjorn3 [Sat, 25 Apr 2020 17:07:25 +0000 (19:07 +0200)]
Call panic lang item on failed TerminatorKind::Assert

Fixes #164

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