Comments
This commit is contained in:
parent
db3203fe59
commit
b09eb5e010
|
@ -1445,8 +1445,10 @@ const CommandDesc debug_cmd = {
|
|||
}
|
||||
write_to_debug_buffer({});
|
||||
write_to_debug_buffer(format(" Total: {}", total));
|
||||
#if defined(__GLIBC__) || defined(__CYGWIN__)
|
||||
#if defined(__GLIBC__) && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 33))
|
||||
write_to_debug_buffer(format(" Malloced: {}", mallinfo2().uordblks));
|
||||
#else if defined(__GLIBC__) || defined(__CYGWIN__)
|
||||
write_to_debug_buffer(format(" Malloced: {}", mallinfo().uordblks));
|
||||
#endif
|
||||
}
|
||||
else if (parser[0] == "shared-strings")
|
||||
|
|
Loading…
Reference in New Issue
Block a user