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. |
||
|---|---|---|
| .. | ||
| back | ||
| save | ||
| trans | ||
| lib.rs | ||
| README.txt | ||
See the README.txt in ../librustc.