rust/src
bors 73d5c42076 Auto merge of #1580 - Aaron1011:feature/backtrace-fn-ptr, r=RalfJung
Add an `fn_ptr` field to `MiriFrame`

The `backtrace-rs` crate can use this to implement
`Frame::symbol_address`, which is used to skip frames
above the call to `Backtrace::capture` on the stack.

The function pointer will not be useable for comparison purposes if the
function is generic, as CTFE creates a new function pointer for each
cast of a (monomorphized) generic function. However, this already
affects code running under Miri, and isn't a problem for `backtrace-rs`
(which only casts a non-generic function).

I've added logic to allow `MiriFrame` to have either 4 or 5 fields - if
a 5th field is present, we write the function pointer to it.
2020-10-11 22:34:57 +00:00
..
bin Rustup 2020-10-11 17:31:52 -04:00
shims Add comment about deprecation 2020-10-11 17:57:49 -04:00
diagnostics.rs adjust diagnostics to alignment check mode 2020-08-16 17:16:53 +02:00
eval.rs Per-thread errno storage 2020-09-02 20:57:20 -05:00
helpers.rs Remove backtics from isolation error. 2020-10-03 11:38:16 +02:00
intptrcast.rs adjust to canonical_alloc_id removal 2020-07-27 23:32:15 +02:00
lib.rs Use try block instead of closure 2020-09-07 15:09:34 -05:00
machine.rs Per-thread errno storage 2020-09-02 20:57:20 -05:00
mono_hash_map.rs avoid ref in matches 2020-04-12 10:08:12 +02:00
operator.rs renamed ScalarMaybeUninit::not_undef to check_init 2020-07-26 16:05:20 -06:00
range_map.rs rustup for import changes 2020-04-03 00:05:35 +02:00
stacked_borrows.rs Change ty.kind -> ty.kind() 2020-09-04 22:03:45 +02:00
sync.rs Implement timeouts for FUTEX_WAIT. 2020-10-02 23:34:14 +02:00
thread.rs Per-thread errno storage 2020-09-02 20:57:20 -05:00