diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-05-12 16:45:51 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-05-12 16:45:51 +0200 |
| commit | dec3d6959df1a7a876782f3e233d0320d41a0fad (patch) | |
| tree | d53e54f577ecb56c3a7f0b72458e28ae4c309b77 /src/llvm_backend_debug.cpp | |
| parent | d2d4ac8120409abbfd5be9ac9890fa2b2536f3ed (diff) | |
Update `linux.Map_Flags_Bits`
Fixes #5151
- Removes `SHARED_VALIDATE` from the enum and turns it into `Map_Shared_Validate :: Map_Flags{.SHARED, .PRIVATE}` so it has the proper value of 0x03.
- Adds `DROPPABLE`.
- Adds constants `MAP_HUGE_SHIFT` and `MAP_HUGE_MASK`.
- Adds the huge page precomputed constants from `mman.h`, defined as the log2 of the size shifted left by `MAP_HUGE_SHIFT`:
Map_Huge_16KB
Map_Huge_64KB
Map_Huge_512KB
Map_Huge_1MB
Map_Huge_2MB
Map_Huge_8MB
Map_Huge_16MB
Map_Huge_32MB
Map_Huge_256MB
Map_Huge_512MB
Map_Huge_1GB
Map_Huge_2GB
Map_Huge_16GB
Diffstat (limited to 'src/llvm_backend_debug.cpp')
0 files changed, 0 insertions, 0 deletions