Go to the source code of this file.
◆ HOST_HOOKS_EXTRA_SIGNALS
Default macros to initialize the lang_hooks data structure.
Copyright (C) 2003-2025 Free Software Foundation, Inc.
This file is part of GCC.
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
any later version.
GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>.
◆ HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY
◆ HOST_HOOKS_GT_PCH_GET_ADDRESS
◆ HOST_HOOKS_GT_PCH_USE_ADDRESS
◆ HOST_HOOKS_INITIALIZER
#define HOST_HOOKS_INITIALIZER |
Value: { \
}
#define HOST_HOOKS_GT_PCH_GET_ADDRESS
Definition hosthooks-def.h:30
#define HOST_HOOKS_EXTRA_SIGNALS
Definition hosthooks-def.h:25
#define HOST_HOOKS_GT_PCH_USE_ADDRESS
Definition hosthooks-def.h:31
#define HOST_HOOKS_GT_PCH_ALLOC_GRANULARITY
Definition hosthooks-def.h:34
The structure is defined in hosthooks.h.
◆ default_gt_pch_alloc_granularity()
size_t default_gt_pch_alloc_granularity |
( |
void | | ) |
|
|
extern |
Default version of HOST_HOOKS_GT_PCH_GET_ADDRESS. Return the
alignment required for allocating virtual memory. Usually this is the
same as pagesize.
◆ default_gt_pch_get_address()
void * default_gt_pch_get_address |
( |
size_t | size, |
|
|
int | fd ) |
|
extern |
Default version of HOST_HOOKS_GT_PCH_GET_ADDRESS when mmap is not present.
Select no address whatsoever, and let gt_pch_save choose what it will with
malloc, presumably.
References NULL.
◆ default_gt_pch_use_address()
int default_gt_pch_use_address |
( |
void *& | base, |
|
|
size_t | size, |
|
|
int | fd, |
|
|
size_t | offset ) |
|
extern |
Default version of HOST_HOOKS_GT_PCH_USE_ADDRESS when mmap is not present.
Allocate SIZE bytes with malloc. Return 0 if the address we got is the
same as base, indicating that the memory has been allocated but needs to
be read in from the file. Return -1 if the address differs, to relocation
of the PCH file would be required.
◆ mmap_gt_pch_get_address()
void * mmap_gt_pch_get_address |
( |
size_t | , |
|
|
int | ) |
|
extern |
◆ mmap_gt_pch_use_address()
int mmap_gt_pch_use_address |
( |
void *& | , |
|
|
size_t | , |
|
|
int | , |
|
|
size_t | ) |
|
extern |