rust/src/liballoc
Björn Steinbrink 0942803f50 Add an "allocator" attribute to mark functions as allocators
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.
2015-03-13 03:19:30 +01:00
..
arc.rs Example -> Examples 2015-03-11 21:11:40 -04:00
boxed.rs Example -> Examples 2015-03-11 21:11:40 -04:00
boxed_test.rs Remove integer suffixes where the types in compiled code are identical. 2015-03-05 12:38:33 +05:30
heap.rs Add an "allocator" attribute to mark functions as allocators 2015-03-13 03:19:30 +01:00
lib.rs Add an "allocator" attribute to mark functions as allocators 2015-03-13 03:19:30 +01:00
rc.rs Example -> Examples 2015-03-11 21:11:40 -04:00