MDEV-16605 Always include buf_madvise_do_dump in binaries
The "used" attribute seems to do this ref: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes
This commit is contained in:
parent
7fb1f919d0
commit
182a6383cd
@ -1182,6 +1182,7 @@ in the event that you want all of the memory to be dumped
|
||||
to a core file.
|
||||
|
||||
Returns number of errors found in madvise calls. */
|
||||
MY_ATTRIBUTE((used))
|
||||
int
|
||||
buf_madvise_do_dump()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user