bjorn3
1e70c51f60
Merge pull request #1022 from osa1/clif_dump_in_release_mode
...
Dump clif with --emit llvm-ir in release mode
2020-05-29 11:12:02 +02:00
Ömer Sinan Ağacan
acbfa06ea2
Mark blocks that call cold funs as cold ( #1021 )
2020-05-29 11:06:29 +02:00
Ömer Sinan Ağacan
c0ad988a3a
Update src/pretty_clif.rs
...
Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-05-29 11:53:58 +03:00
Ömer Sinan Ağacan
6dd0246199
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
2020-05-29 11:43:05 +03:00
bjorn3
1c76bdc53a
Remove already fixed FIXME in driver/jit.rs
2020-05-27 11:08:41 +02:00
bjorn3
47f0256d56
Update Cranelift
2020-05-25 13:04:36 +02:00
bjorn3
bcd357a0ae
Rustup to rustc 1.45.0-nightly (46e85b432 2020-05-24)
2020-05-25 12:41:33 +02:00
bjorn3
c7e0dde38a
Rustup to rustc 1.45.0-nightly (7ebd87a7a 2020-05-08)
2020-05-09 14:14:45 +02:00
bjorn3
27cc90effa
Improvements for latest Cranelift
2020-05-05 12:16:28 +02:00
bjorn3
020bcb31db
Register frame table in JIT mode
2020-05-01 20:58:27 +02:00
bjorn3
4da6488d95
Always emit .eh_frame section
2020-05-01 19:21:29 +02:00
bjorn3
485e52e153
Rustup to rustc 1.45.0-nightly (7ced01a73 2020-04-30)
2020-05-01 17:51:51 +02:00
bjorn3
9fb167e711
Commit missing change for rustup
2020-04-30 16:12:33 +02:00
bjorn3
7031c96fb3
Call panic lang item on failed TerminatorKind::Assert
...
Fixes #164
2020-04-25 19:07:53 +02:00
bjorn3
e7661d49c3
Implement .eh_frame writing
2020-04-25 18:23:31 +02:00
bjorn3
9d6f65ea14
Implement line debuginfo for AArch64
2020-04-25 17:29:09 +02:00
bjorn3
6b8b4e54ba
Rustup to rustc 1.44.0-nightly (3360cc3a0 2020-04-24)
2020-04-25 11:42:46 +02:00
bjorn3
c3180f3bd7
Fix function arguments for gdb
2020-04-24 21:13:23 +02:00
bjorn3
b69b72973a
Generate simple debuginfo for arguments
2020-04-24 21:13:23 +02:00
bjorn3
27a46ff765
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.
2020-04-22 17:54:25 +02:00
bjorn3
5a6d9e1f1b
Merge pull request #972 from l4l/debug-file-hash
...
Support file hashes in .debug_line
2020-04-21 12:17:46 +02:00
bjorn3
c3c5c4b731
Use DWARF version 4 for now
2020-04-21 12:13:50 +02:00
Kitsu
8c7a457753
Use md5 dwarf hash, only if all files has it
...
Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com>
2020-04-20 23:27:54 +03:00
Serentty
080d17f4f5
Fix spelling error in comment ( #974 )
2020-04-19 10:55:07 +02:00
bjorn3
e64a7ebcb0
Implement check mode
...
Fixes #973
2020-04-18 21:13:09 +02:00
Kitsu
fb709ede02
Simplify with make_file_info
2020-04-18 17:43:00 +03:00
bjorn3
eab4c9063e
Sync fn_sig_for_fn_abi with upstream for generator resume args
...
Fixes #970
2020-04-18 15:45:42 +02:00
Kitsu
0e837e3082
Simplify FileHash ctor
2020-04-18 16:33:01 +03:00
Kitsu
710da05af7
Dedup file hashing logic with type
2020-04-18 16:16:17 +03:00
Kitsu
1e472531c6
Use dwarf 3 for osx
2020-04-18 16:05:28 +03:00
Kitsu
5c0e34d7ab
Don`t include timestamp as debug file info
2020-04-18 16:02:02 +03:00
Kitsu
077209e565
Support file hashes in .debug_line
2020-04-18 14:56:04 +03:00
bjorn3
a802c7f292
Disable line debuginfo for the AArch64 backend
2020-04-17 21:03:43 +02:00
bjorn3
51d07790df
Use the correct return type for puts
2020-04-17 19:33:57 +02:00
bjorn3
cd684e39e0
Fix saturated_* intrinsics for 128bit ints
...
Fixes #968
2020-04-17 14:14:24 +02:00
bjorn3
9a378c3f3f
Fix transmute of non-scalar to scalar
...
Fixes #967
2020-04-17 10:57:20 +02:00
Venkata Jaswanth U
78cdfc6c92
Fixes #958 : Use session.fatal() instead of assert!
2020-04-14 21:36:28 +05:30
bjorn3
21aa9b29bc
Pre-allocate local_map
2020-04-13 19:53:49 +02:00
bjorn3
af016640b6
Cleanup codegen_terminator_call a bit
2020-04-13 19:12:44 +02:00
bjorn3
4bbae74458
Merge codegen_call_inner into codegen_terminator_call
2020-04-13 17:38:17 +02:00
bjorn3
04af24d418
Don't use codegen_call_inner in codegen_drop
2020-04-13 17:31:35 +02:00
bjorn3
40cdcf0e5e
Remove one usage of force_stack
2020-04-13 14:53:25 +02:00
bjorn3
8daca65e47
Rustup to rustc 1.44.0-nightly (3712e11a8 2020-04-12)
2020-04-13 13:30:39 +02:00
bjorn3
bbc0cd66b4
Update Cranelift
2020-04-13 12:54:55 +02:00
bjorn3
b6bbc0f751
Codegen goto return block as return terminator
2020-04-11 15:01:29 +02:00
bjorn3
ea1a99900e
Remove unchecked_cast_to
2020-04-11 15:01:15 +02:00
bjorn3
3ef6170142
Remove CPlace::NoPlace
2020-04-11 15:01:04 +02:00
bjorn3
53307fd2e1
Introduce PointerBase::Dangling
2020-04-11 14:59:01 +02:00
bjorn3
dfb5d16fb3
Use bitcast to transmute where possible
2020-04-11 14:56:00 +02:00
bjorn3
016673b0c3
Fix rustc::internals lint warnings
2020-04-09 12:12:55 +02:00