Commit graph

1088 commits

Author SHA1 Message Date
bjorn3
4826320680 Add debuginfo test 2019-12-16 12:06:52 +01:00
bjorn3
8edbbc45f7 Implement local reading for locals on stack 2019-12-16 12:04:34 +01:00
bjorn3
d8e9148c2e Rustfmt debuginfo 2019-12-16 12:04:34 +01:00
bjorn3
c5c6ce87d2 Small change 2019-12-16 12:04:34 +01:00
bjorn3
beda7870fb Split debuginfo/line_info.rs from debuginfo/mod.rs 2019-12-16 12:04:34 +01:00
bjorn3
ed758912d3 Split debuginfo/emit.rs part out of debuginfo/mod.rs 2019-12-16 12:04:34 +01:00
bjorn3
d07fe816af Move debuginfo.rs to debuginfo/mod.rs 2019-12-16 12:04:34 +01:00
bjorn3
62c3ca28e1 Extract local definition from FunctionDebugContext::define 2019-12-16 12:04:34 +01:00
bjorn3
50f7110cb6 Fix local value reading
LLDB doesn't understand base address entries
2019-12-16 12:04:34 +01:00
bjorn3
3fed880057 [WIP] Set local DW_AT_location 2019-12-16 12:04:34 +01:00
bjorn3
21f0dfd014 Monomorphize locals 2019-12-16 12:04:34 +01:00
bjorn3
a962835685 [WIP] debuginfo: Add types for locals 2019-12-16 12:04:34 +01:00
bjorn3
c0aedfef96 [WIP] debuginfo for locals 2019-12-16 12:04:34 +01:00
bjorn3
306bf8ec1c Update dependencies 2019-12-16 12:03:58 +01:00
bjorn3
83431367d9 Update Cranelift 2019-12-16 12:00:29 +01:00
bjorn3
b97df0b07f Fix Linux libtest 2019-12-16 11:50:20 +01:00
bjorn3
e1613a69d4 Rustup to rustc 1.41.0-nightly (a605441e0 2019-12-15) 2019-12-16 11:33:57 +01:00
bjorn3
88277f983a Remove some workarounds for missing inst legalizations 2019-12-08 11:52:04 +01:00
bjorn3
0cbcccf4c1 Update Cranelift 2019-12-08 11:51:18 +01:00
bjorn3
d14ad35884 Rustup to rustc 1.41.0-nightly (5c5c8eb86 2019-12-07) 2019-12-08 11:32:03 +01:00
bjorn3
c6086a8fd7 Rustup to rustc 1.41.0-nightly (6d77e45f0 2019-12-04) 2019-12-05 21:00:57 +01:00
bjorn3
f0bb30f8a1 Rustup to rustc 1.41.0-nightly (25d8a9494 2019-11-29) 2019-12-01 12:54:57 +01:00
bjorn3
65f69d1085 Update dependencies 2019-11-26 20:55:03 +01:00
bjorn3
6055b85a31 Update Cranelift 2019-11-26 20:49:02 +01:00
dependabot-preview[bot]
f4d63fb179
Merge pull request #808 from bjorn3/dependabot/cargo/cranelift-0b40b11 2019-11-25 06:08:13 +00:00
dependabot-preview[bot]
e51a5cf01c
Bump cranelift from bed9a72 to 0b40b11
Bumps [cranelift](https://github.com/bytecodealliance/cranelift) from `bed9a72` to `0b40b11`.
- [Release notes](https://github.com/bytecodealliance/cranelift/releases)
- [Commits](bed9a72a77...0b40b114f6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-25 05:02:10 +00:00
bjorn3
c3df8b185b Rustup to rustc 1.41.0-nightly (0c987c5c0 2019-11-23) 2019-11-24 16:30:15 +01:00
bjorn3
e9d3569e08 Run libcore tests 2019-11-24 15:44:39 +01:00
bjorn3
53e0833232 Implement log10f* intrinsics 2019-11-24 15:30:28 +01:00
bjorn3
4a8b0ca274 Correctly align returned addr for to_addr on NoPlace 2019-11-24 14:56:51 +01:00
bjorn3
fc826a7525 Benchmark simple-raytracer compilation
[BENCH COMPILE] ebobby/simple-raytracer
Benchmark #1: RUSTFLAGS='' cargo build --target x86_64-apple-darwin
  Time (mean ± σ):     16.539 s ±  0.781 s    [User: 46.043 s, System: 3.822 s]
  Range (min … max):   15.057 s … 17.566 s    10 runs

Benchmark #2: ../cargo.sh build
  Time (mean ± σ):     14.550 s ±  0.443 s    [User: 25.856 s, System: 4.214 s]
  Range (min … max):   14.208 s … 15.751 s    10 runs

Summary
  '../cargo.sh build' ran
    1.14 ± 0.06 times faster than 'RUSTFLAGS='' cargo build --target x86_64-apple-darwin'
[BENCH RUN] ebobby/simple-raytracer
Benchmark #1: ./raytracer_cg_llvm
  Time (mean ± σ):      6.436 s ±  0.022 s    [User: 6.392 s, System: 0.018 s]
  Range (min … max):    6.408 s …  6.466 s    10 runs

Benchmark #2: ./raytracer_cg_clif
  Time (mean ± σ):      9.604 s ±  0.088 s    [User: 9.547 s, System: 0.023 s]
  Range (min … max):    9.503 s …  9.742 s    10 runs

Summary
  './raytracer_cg_llvm' ran
    1.49 ± 0.01 times faster than './raytracer_cg_clif'
2019-11-23 15:10:45 +01:00
bjorn3
7a27ded57f Enable object backend by default 2019-11-23 15:06:23 +01:00
bjorn3
cdab96d05c Rustup to rustc 1.41.0-nightly (53712f863 2019-11-21) 2019-11-22 15:56:49 +01:00
bjorn3
0219f218db Remove FIXME 2019-11-16 16:54:47 +01:00
bjorn3
b0bcb23eb4 Fix signed cast to 128bit integer 2019-11-16 16:44:26 +01:00
bjorn3
d2eafd858f Update Cranelift 2019-11-16 15:22:43 +01:00
bjorn3
0c026853f5 Rustup to rustc 1.41.0-nightly (82cf3a448 2019-11-14) 2019-11-15 20:47:22 +01:00
bjorn3
42f8620432 Update dependencies 2019-11-14 21:38:08 +01:00
bjorn3
1f8a646592 Update cranelift and update git url for move to bytecodealliance
Fixes #796
2019-11-14 21:32:18 +01:00
bjorn3
177b0d2f57 Rustup to rustc 1.41.0-nightly (ded5ee001 2019-11-13) 2019-11-14 21:13:40 +01:00
bjorn3
ff7507e014 Update Cranelift and faerie 2019-11-11 20:39:47 +01:00
bjorn3
c0ec688daf Rustup to rustc 1.40.0-nightly (3fc30d884 2019-11-10) 2019-11-11 20:34:42 +01:00
bjorn3
bef2d8836f Fix backend_object build 2019-11-09 15:50:48 +01:00
bjorn3
5407b51aa7 Rustup to rustc 1.40.0-nightly (9e346646e 2019-11-08) 2019-11-09 11:14:18 +01:00
bjorn3
74ea53f1fb Update cranelift 2019-11-06 20:48:29 +01:00
bjorn3
0cad01f239 Rustup to rustc 1.40.0-nightly (aa4e57ca8 2019-10-31) 2019-11-01 20:22:59 +01:00
bjorn3
7f3da30e2c Update dependencies 2019-11-01 20:12:03 +01:00
bjorn3
62d1082190 Update cranelift and object 2019-11-01 20:08:42 +01:00
bjorn3
ab5542e0cc Update dependencies 2019-10-29 19:07:07 +01:00
bjorn3
7d0007d4aa
Merge pull request #759 from bjorn3/fix_macho_debuginfo
Fix debuginfo for machO
2019-10-26 18:37:53 +02:00