about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorBjörn Steinbrink <bsteinbr@gmail.com>2015-03-01 18:19:07 +0100
committerBjörn Steinbrink <bsteinbr@gmail.com>2015-03-01 19:45:35 +0100
commit8b6b3c159c0b980e340a9bb05b8a90bd9bc1dfd8 (patch)
tree2f21f8e0b79c3134698811230db4db1a3271dcf5 /src/libstd/sys/unix/stack_overflow.rs
parent41f8b1e89b5ca0c79d7bca782ca44085624d4564 (diff)
downloadrust-8b6b3c159c0b980e340a9bb05b8a90bd9bc1dfd8.tar.gz
rust-8b6b3c159c0b980e340a9bb05b8a90bd9bc1dfd8.zip
Emit proper attributes for the self pointer in method call through trait objects
For method calls through trait objects, we currently generate the llvm
function argument attributes using the non-opaque method signature that
still has the trait object fat pointer for the self pointer. This leads
to attributes that are plain wrong, e.g. noalias. As we don't know
anything about the concrete type of the underlying object, we must
replace the self argument with an opaque i8 pointer before applying the
attributes.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions