forked from OSchip/llvm-project
[compiler-rt] Fix sanitizer_common build for FreeBSD
This was broken by 28c91219c7
, which added `struct_stack_t_sz` only to
sanitizer_platform_limits_posix.{cpp,h}.
This commit is contained in:
parent
b73f8c53d8
commit
8a1f4feb1b
|
@ -100,6 +100,7 @@ namespace __sanitizer {
|
|||
unsigned struct_group_sz = sizeof(struct group);
|
||||
unsigned siginfo_t_sz = sizeof(siginfo_t);
|
||||
unsigned struct_sigaction_sz = sizeof(struct sigaction);
|
||||
unsigned struct_stack_t_sz = sizeof(stack_t);
|
||||
unsigned struct_itimerval_sz = sizeof(struct itimerval);
|
||||
unsigned pthread_t_sz = sizeof(pthread_t);
|
||||
unsigned pthread_mutex_t_sz = sizeof(pthread_mutex_t);
|
||||
|
|
|
@ -53,6 +53,7 @@ extern unsigned struct_timezone_sz;
|
|||
extern unsigned struct_tms_sz;
|
||||
extern unsigned struct_itimerspec_sz;
|
||||
extern unsigned struct_sigevent_sz;
|
||||
extern unsigned struct_stack_t_sz;
|
||||
extern unsigned struct_sched_param_sz;
|
||||
extern unsigned struct_statfs64_sz;
|
||||
extern unsigned struct_statfs_sz;
|
||||
|
|
Loading…
Reference in New Issue