mirror of
https://github.com/google/cpu_features.git
synced 2025-06-30 21:02:34 +02:00
Making sure global variable is 8B aligned as well
This commit is contained in:
@ -50,7 +50,7 @@ typedef struct {
|
||||
size_t size;
|
||||
} BumpAllocator;
|
||||
|
||||
char gGlobalBuffer[64 * 1024];
|
||||
__attribute__((aligned(8))) char gGlobalBuffer[64 * 1024];
|
||||
BumpAllocator gBumpAllocator = {.ptr = gGlobalBuffer,
|
||||
.size = sizeof(gGlobalBuffer)};
|
||||
|
||||
|
Reference in New Issue
Block a user