diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-13 18:11:51 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-13 18:11:51 +0530 |
| commit | d0f98fcc7fd9846c6925eb46f969febef99ae9c3 (patch) | |
| tree | 5a7ed287281219714e97fb0647ef6b7d02a9b45d /src/rustllvm/RustWrapper.cpp | |
| parent | 63cd9f9d8948ad9fe138c327f2298739a240daba (diff) | |
| parent | 0942803f502d164883294e29238e3ac4822867ed (diff) | |
| download | rust-d0f98fcc7fd9846c6925eb46f969febef99ae9c3.tar.gz rust-d0f98fcc7fd9846c6925eb46f969febef99ae9c3.zip | |
Rollup merge of #23322 - dotdash:jemalloc_attrs, r=brson
When this attribute is applied to a function, its return value gets the noalias attribute, which is how you tell LLVM that the function returns a \"new\" pointer that doesn't alias anything accessible to the caller, i.e. it acts like a memory allocator. Plain malloc doesn't need this attribute because LLVM already knows about malloc and adds the attribute itself.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
