]> git.lizzy.rs Git - rust.git/log
rust.git
4 years agoPrelude cleanup
bjorn3 [Sat, 20 Jun 2020 16:44:49 +0000 (18:44 +0200)]
Prelude cleanup

4 years agoIntroduce #[cfg(target_feature = "cg_clif")]
bjorn3 [Sat, 20 Jun 2020 14:22:03 +0000 (16:22 +0200)]
Introduce #[cfg(target_feature = "cg_clif")]

4 years agoIgnore less of the libcore float tests
bjorn3 [Sat, 20 Jun 2020 13:29:12 +0000 (15:29 +0200)]
Ignore less of the libcore float tests

4 years agoImplement checked_mul
bjorn3 [Sat, 20 Jun 2020 13:15:28 +0000 (15:15 +0200)]
Implement checked_mul

Fixes #6

4 years agoUnignore some more libcore tests
bjorn3 [Sat, 20 Jun 2020 12:26:05 +0000 (14:26 +0200)]
Unignore some more libcore tests

4 years agoUse Cranelift legalization for icmp.i128
bjorn3 [Sat, 20 Jun 2020 11:23:31 +0000 (13:23 +0200)]
Use Cranelift legalization for icmp.i128

The previous translation was wrong for signed 128bit comparisions

This fixes several libcore tests

4 years agoImplement #[link_section]
bjorn3 [Sat, 20 Jun 2020 10:01:24 +0000 (12:01 +0200)]
Implement #[link_section]

Fixes #1047

4 years agoIgnore libcore test that requires unwinding support
bjorn3 [Sat, 20 Jun 2020 09:31:48 +0000 (11:31 +0200)]
Ignore libcore test that requires unwinding support

4 years agoUpdate Cranelift
bjorn3 [Sat, 20 Jun 2020 09:21:52 +0000 (11:21 +0200)]
Update Cranelift

4 years agoRustup to rustc 1.46.0-nightly (2d8bd9b74 2020-06-19)
bjorn3 [Sat, 20 Jun 2020 09:10:27 +0000 (11:10 +0200)]
Rustup to rustc 1.46.0-nightly (2d8bd9b74 2020-06-19)

4 years agoOnly call build_value_labels_ranges when necessary
bjorn3 [Tue, 16 Jun 2020 11:27:24 +0000 (13:27 +0200)]
Only call build_value_labels_ranges when necessary

4 years agoMake mini_core_hello_world work on Windows once TLS is supported
bjorn3 [Tue, 16 Jun 2020 09:50:58 +0000 (11:50 +0200)]
Make mini_core_hello_world work on Windows once TLS is supported

4 years agoOnly run ranlib when necessary
bjorn3 [Tue, 16 Jun 2020 09:40:21 +0000 (11:40 +0200)]
Only run ranlib when necessary

4 years agoSome changes necessary for Windows support
bjorn3 [Tue, 16 Jun 2020 09:36:39 +0000 (11:36 +0200)]
Some changes necessary for Windows support

cc #977

4 years agoRevert "[CI] Run the compile step with CARGO_INCREMENTAL=1"
bjorn3 [Tue, 16 Jun 2020 09:08:06 +0000 (11:08 +0200)]
Revert "[CI] Run the compile step with CARGO_INCREMENTAL=1"

This reverts commit af0fa74615b1b30145b6762ae2eec3ca4c6c391c.

It didn't do anything

4 years ago[CI] Run the compile step with CARGO_INCREMENTAL=1
bjorn3 [Tue, 16 Jun 2020 09:02:26 +0000 (11:02 +0200)]
[CI] Run the compile step with CARGO_INCREMENTAL=1

4 years agoRemove pin of the libc crate for the sysroot
bjorn3 [Tue, 16 Jun 2020 08:54:18 +0000 (10:54 +0200)]
Remove pin of the libc crate for the sysroot

The latest libc version has fixed the compilation error

4 years agoFix warnings in alloc_example.rs
bjorn3 [Tue, 16 Jun 2020 08:42:44 +0000 (10:42 +0200)]
Fix warnings in alloc_example.rs

4 years agoUpdate dependencies
bjorn3 [Tue, 16 Jun 2020 08:41:19 +0000 (10:41 +0200)]
Update dependencies

4 years agoUpdate Cranelift
bjorn3 [Tue, 16 Jun 2020 08:38:12 +0000 (10:38 +0200)]
Update Cranelift

4 years agoRustup to rustc 1.46.0-nightly (f315c35a7 2020-06-15)
bjorn3 [Tue, 16 Jun 2020 08:24:24 +0000 (10:24 +0200)]
Rustup to rustc 1.46.0-nightly (f315c35a7 2020-06-15)

4 years agoCompile sysroot in release mode by default
bjorn3 [Sat, 13 Jun 2020 17:19:38 +0000 (19:19 +0200)]
Compile sysroot in release mode by default

Fixes #938

4 years agoRemove FunctionDebugContext
bjorn3 [Sat, 13 Jun 2020 15:03:34 +0000 (17:03 +0200)]
Remove FunctionDebugContext

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