+32
−8
vulkan/libvulkan/allocator.cpp
0 → 100644
+113
−0
vulkan/libvulkan/allocator.h
0 → 100644
+25
−0
+0
−75
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
You can't use malloc_usable_size() when built with _FORTIFY_SOURCE=3, so pull out the allocator into a file that can be built _FORTIFY_SOURCE=2 while still getting the benefits for the rest of the code. Bug: http://b/291762537 Change-Id: Ic3a71bd8eadeb2da167edc0ba28becba2f95f82e