Make guarded heap accessible through its own libroot_guarded.so.
This adds libroot_guarded.so to the HaikuDevel package. It is the same as libroot_debug with the debug heap swapped out for the guarded heap. The guarded heap has some useful features that make it desirable to use while having the disadvantage of a large memory and address space overhead which make it unusable in some situations. Therefore the guarded heap cannot simply replace the debug heap but should still be made available. As the heap init needs to happen even before having environment variables, the heap to use can not be chosen dynamically. Exposing them through their own libraries is the next best thing.
This commit is contained in:
@@ -19,7 +19,11 @@ AddFilesToPackage develop lib :
|
||||
AddFilesToPackage develop lib : kernel.so : _KERNEL_ ;
|
||||
|
||||
# additional libraries
|
||||
local developmentLibs = <revisioned>libroot_debug.so ;
|
||||
local developmentLibs =
|
||||
<revisioned>libroot_debug.so
|
||||
<revisioned>libroot_guarded.so
|
||||
;
|
||||
|
||||
AddFilesToPackage lib : $(developmentLibs) ;
|
||||
|
||||
# library symlinks
|
||||
|
||||
Reference in New Issue
Block a user