Ralf Jung
|
ffd482e2f5
|
check the assumptions made by the unchecked_ and copy_nonoverlapping intrinsics
|
2017-07-03 20:37:38 -07:00 |
|
Oliver Schneider
|
91409f1d76
|
Code nits
|
2017-06-28 13:10:50 +02:00 |
|
Oliver Schneider
|
5ee4fdcd15
|
fetch_tls_dtor "read" an Undef as nonzero
|
2017-06-23 13:31:00 +02:00 |
|
Oliver Schneider
|
9be3e9185b
|
Remove the zst allocation
|
2017-06-23 12:55:49 +02:00 |
|
Ralf Jung
|
14cb31fb88
|
permit bit-anding in pointer values below the alignment
This makes HashMap work!
|
2017-06-22 14:46:53 -07:00 |
|
Ralf Jung
|
78aa93fa10
|
correctly reject functions pointers that had arithmetic done to them
|
2017-06-21 21:45:51 -07:00 |
|
Ralf Jung
|
7b1582b383
|
permit integer addition and subtraction on ptr-integers
|
2017-06-21 21:38:43 -07:00 |
|
Oliver Schneider
|
a82fe9ae0c
|
Enable more zst writes and reads
|
2017-06-20 16:26:53 +02:00 |
|
Oliver Schneider
|
ea6f6079ca
|
Use PrimVal instead of Pointer where applicable
|
2017-06-20 14:28:19 +02:00 |
|
Oliver Schneider
|
a2baeb516c
|
Run the tls destructors in the correct order
|
2017-06-20 14:28:18 +02:00 |
|
Oliver Schneider
|
43afa20dc7
|
Add pthread docs
|
2017-06-20 14:28:18 +02:00 |
|
Oliver Schneider
|
fcf495821e
|
Get rid of the integer allocation
|
2017-06-20 14:28:18 +02:00 |
|
Ralf Jung
|
e0559a6b24
|
typos
|
2017-06-08 10:56:49 -07:00 |
|
Ralf Jung
|
3e1596d8c9
|
Error out when "primitive MIR math" (as opposed to unchecked intrinsics) overflows
Fixes #178
|
2017-06-07 15:39:44 -07:00 |
|
Ralf Jung
|
e1562fbe71
|
comments
|
2017-06-06 10:15:54 -07:00 |
|
Ralf Jung
|
684de68d6c
|
properly wrap pointer offsets at pointer size
|
2017-06-05 18:07:26 -07:00 |
|
Ralf Jung
|
7bfda59fe2
|
don't bother inserting integer relocations into the relocation table
|
2017-06-05 17:17:16 -07:00 |
|
Ralf Jung
|
2a231d66fc
|
check bounds when using offset intrinsic or MIR op
|
2017-06-05 14:27:26 -07:00 |
|
Ralf Jung
|
f39e015163
|
check for overflow when doing pointer arithmetic
|
2017-06-05 14:23:35 -07:00 |
|
Ralf Jung
|
6197f4fac9
|
Permit int->ptr->int roundtrip
|
2017-06-05 14:23:35 -07:00 |
|
Ralf Jung
|
14b16dcf45
|
use proper span for TLS dtors; fix some nits
|
2017-05-30 10:41:38 -07:00 |
|
Ralf Jung
|
a66f359d91
|
support TLS destructors
|
2017-05-30 10:41:38 -07:00 |
|
Ralf Jung
|
238211e1b3
|
implement TLS
|
2017-05-30 10:41:38 -07:00 |
|
Oliver Schneider
|
538c271e05
|
Address clippy lints
|
2017-04-26 12:15:42 +02:00 |
|
Oliver Schneider
|
cb867d250a
|
Fix casting generic functions to concrete function pointers
|
2017-03-23 17:57:40 +01:00 |
|
Oliver Schneider
|
dc1b0fb436
|
Compiles again
|
2017-03-21 13:53:55 +01:00 |
|
Scott Olson
|
0ca0676abd
|
Merge pull request #146 from oli-obk/peephole1
[Peephole Optimization 1/n] Don't allocate for structs with a single primval field
|
2017-03-14 09:57:02 -07:00 |
|
Oliver Schneider
|
8405770b51
|
Rustup to rustc 1.17.0-nightly (be760566c 2017-02-28)
|
2017-03-02 13:11:33 +01:00 |
|
Oliver Schneider
|
8878a4030a
|
rustup to rustc 1.17.0-nightly (60a0edc6c 2017-02-26)
|
2017-02-28 12:35:00 +01:00 |
|
Oliver Schneider
|
2282e6b582
|
represent single field structs as their single field
|
2017-02-24 11:04:13 +01:00 |
|
Oliver Schneider
|
529efc51e8
|
detect memory leaks
|
2017-02-24 10:41:15 +01:00 |
|
Scott Olson
|
0f714b72a0
|
Formatting.
|
2017-02-10 13:35:45 -08:00 |
|
Scott Olson
|
6ffd7005c1
|
Cache string and bytestring literal allocs.
|
2017-02-10 13:35:33 -08:00 |
|
Oliver Schneider
|
333264c956
|
clarify comment on drop glue
|
2017-02-10 08:13:18 +01:00 |
|
Oliver Schneider
|
e58f750a49
|
refactor drop glue
|
2017-02-09 19:27:07 +01:00 |
|
Oliver Schneider
|
4beb774caa
|
don't mark the zst allocation as static
|
2017-02-08 17:24:20 +01:00 |
|
Oliver Schneider
|
080d3e4355
|
properly prevent recursive statics from marking each other
|
2017-02-08 16:27:28 +01:00 |
|
Oliver Schneider
|
fbfd2d4bca
|
re-add spaces before static kind
|
2017-02-08 09:17:48 +01:00 |
|
Oliver Schneider
|
98cda6cb07
|
freeze -> static
|
2017-02-07 20:28:54 +01:00 |
|
Oliver Schneider
|
01ac19d358
|
fix static mut accidental dealloc or freeze
|
2017-02-07 19:20:16 +01:00 |
|
Oliver Schneider
|
45df853da7
|
cleanup buggy closure dispatch code
|
2017-02-07 14:22:20 +01:00 |
|
Scott Olson
|
9f7ca351e0
|
Dump fn ptr ABIs.
|
2017-02-07 01:57:42 -08:00 |
|
Scott Olson
|
097db58f30
|
Print fn name and type in dump_allocs.
|
2017-02-06 12:48:10 -08:00 |
|
Scott Olson
|
b36d8085a7
|
Fix duplicate allocation printing.
|
2017-02-06 09:26:01 -08:00 |
|
Scott Olson
|
7acbf7ef74
|
Cleanup: EvalResult<'a, ()> becomes EvalResult<'a>.
|
2017-02-04 13:09:10 -08:00 |
|
Oliver Schneider
|
c47c325252
|
remove duplicate alignment checks
|
2017-01-31 10:56:37 +01:00 |
|
Oliver Schneider
|
148c6de507
|
fix some unaligned reads
|
2017-01-31 10:36:46 +01:00 |
|
Oliver Schneider
|
96607d4593
|
document our packed struct strategy
|
2017-01-31 10:36:27 +01:00 |
|
Oliver Schneider
|
5e34740ab6
|
implement packed struct field access
|
2017-01-30 09:44:52 +01:00 |
|
Scott Olson
|
53fa985fc4
|
Update for changes in rustc.
|
2017-01-16 19:37:53 -08:00 |
|