Skip to content
Commit a34583e5 authored by Chris Kay's avatar Chris Kay Committed by Chris Kay
Browse files

fwk: Attach `malloc` attribute to allocators



To aid in optimization efforts done by the compiler, we attach the
`malloc` attribute to any memory allocation functions defined by us to
indicate that the pointer returned by the function does not alias with
any other pointer.

Change-Id: Ie66cac0b7e1bb4cf5e70f523c6917da99942fbb2
Signed-off-by: Chris Kay's avatarChris Kay <chris.kay@arm.com>
parent e9d28442
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment