about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2013-09-10 18:42:01 -0400
committerDaniel Micay <danielmicay@gmail.com>2013-09-16 13:44:01 -0400
commit3c31cf25b18a1300d723e7a3b155810b23d4b472 (patch)
treec25891ae9ff48d562e0942979143dad4cbf01711 /src/rustllvm/RustWrapper.cpp
parent6bc48b63f376439801d43820f6df0990797b8787 (diff)
downloadrust-3c31cf25b18a1300d723e7a3b155810b23d4b472.tar.gz
rust-3c31cf25b18a1300d723e7a3b155810b23d4b472.zip
fix handling of function attributes
The `noalias` attributes were being set only on function definitions,
not on all declarations. This is harmless for `noalias`, but prevented
some optimization opportunities and is *not* harmless for other
attributes like `sret` with ABI implications.

Closes #9104
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions