mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-04 12:07:05 +08:00
Add VMA naming fallback for LowLevelAlloc.
PiperOrigin-RevId: 911021583 Change-Id: I3fc632b8b142cc738ced0dbb40d5eef87cc30cf4
This commit is contained in:
committed by
Copybara-Service
parent
97aea89f78
commit
4dcbb5982d
@@ -47,6 +47,12 @@
|
||||
|
||||
#ifdef __linux__
|
||||
#include <sys/prctl.h>
|
||||
#ifndef PR_SET_VMA
|
||||
#define PR_SET_VMA 0x53564d41
|
||||
#endif
|
||||
#ifndef PR_SET_VMA_ANON_NAME
|
||||
#define PR_SET_VMA_ANON_NAME 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <string.h>
|
||||
|
||||
Reference in New Issue
Block a user