Migrate ABSL_ATTRIBUTE_SECTION to [[gnu::section(...)]] PiperOrigin-RevId: 1018456160
diff --git a/absl/base/internal/low_level_alloc.h b/absl/base/internal/low_level_alloc.h index 23218dd..47d4899 100644 --- a/absl/base/internal/low_level_alloc.h +++ b/absl/base/internal/low_level_alloc.h
@@ -69,16 +69,16 @@ // Returns 0 if passed request==0. // Does not return 0 under other circumstances; it crashes if memory // is not available. - static void *Alloc(size_t request) ABSL_ATTRIBUTE_SECTION(malloc_hook); - static void *AllocWithArena(size_t request, Arena *arena) - ABSL_ATTRIBUTE_SECTION(malloc_hook); + ABSL_ATTRIBUTE_SECTION(malloc_hook) static void* Alloc(size_t request); + ABSL_ATTRIBUTE_SECTION(malloc_hook) + static void* AllocWithArena(size_t request, Arena* arena); // Deallocates a region of memory that was previously allocated with // Alloc(). Does nothing if passed 0. "s" must be either 0, // or must have been returned from a call to Alloc() and not yet passed to // Free() since that call to Alloc(). The space is returned to the arena // from which it was allocated. - static void Free(void *s) ABSL_ATTRIBUTE_SECTION(malloc_hook); + ABSL_ATTRIBUTE_SECTION(malloc_hook) static void Free(void* s); // ABSL_ATTRIBUTE_SECTION(malloc_hook) for Alloc* and Free // are to put all callers of MallocHook::Invoke* in this module