Ticket #43353: thing_to_attach

File thing_to_attach, 117.7 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago)

preprocessed source

Line 
1# 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
2# 1 "<built-in>" 1
3# 1 "<built-in>" 3
4# 168 "<built-in>" 3
5# 1 "<command line>" 1
6# 1 "<built-in>" 2
7# 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
8# 16 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
9# 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform.h" 1
10# 28 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform.h"
11# 1 "/usr/include/TargetConditionals.h" 1 3 4
12# 29 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform.h" 2
13# 17 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
14
15
16# 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h" 1
17# 51 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h"
18namespace __sanitizer {
19
20
21
22
23
24
25typedef unsigned long uptr;
26typedef signed long sptr;
27
28
29
30
31
32
33typedef uptr uhwptr;
34
35typedef unsigned char u8;
36typedef unsigned short u16;
37typedef unsigned int u32;
38typedef unsigned long long u64;
39typedef signed char s8;
40typedef signed short s16;
41typedef signed int s32;
42typedef signed long long s64;
43typedef int fd_t;
44
45
46
47
48
49
50typedef u64 OFF_T;
51
52
53
54typedef u64 OFF64_T;
55
56
57typedef uptr operator_new_size_type;
58
59
60
61}
62
63extern "C" {
64
65
66  __attribute__((visibility("default")))
67  void __sanitizer_set_report_path(const char *path);
68
69
70
71
72  __attribute__((visibility("default"))) __attribute__((weak))
73  void __sanitizer_sandbox_on_notify(void *reserved);
74
75
76
77
78  __attribute__((visibility("default"))) __attribute__((weak))
79  void __sanitizer_report_error_summary(const char *error_summary);
80
81  __attribute__((visibility("default"))) void __sanitizer_cov_dump();
82  __attribute__((visibility("default"))) void __sanitizer_cov(void *pc);
83  __attribute__((visibility("default")))
84  void __sanitizer_annotate_contiguous_container(void *beg, void *end,
85                                                 void *old_mid, void *new_mid);
86}
87
88
89using namespace __sanitizer;
90# 171 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h"
91typedef __attribute__((aligned(1))) u16 uu16;
92typedef __attribute__((aligned(1))) u32 uu32;
93typedef __attribute__((aligned(1))) u64 uu64;
94typedef __attribute__((aligned(1))) s16 us16;
95typedef __attribute__((aligned(1))) s32 us32;
96typedef __attribute__((aligned(1))) s64 us64;
97
98
99
100
101
102
103typedef void* thread_return_t;
104
105
106typedef thread_return_t ( *thread_callback_t)(void* arg);
107
108
109namespace __sanitizer {
110void __attribute__((noreturn)) Die();
111
112
113__attribute__((visibility("default")))
114void __attribute__((noreturn)) CheckFailed(const char *file, int line, const char *cond,
115                          u64 v1, u64 v2);
116}
117# 283 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h"
118enum LinkerInitialized { LINKER_INITIALIZED = 0 };
119# 20 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
120# 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h" 1
121# 21 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
122namespace __sanitizer {
123  extern unsigned struct_utsname_sz;
124  extern unsigned struct_stat_sz;
125
126  extern unsigned struct_stat64_sz;
127
128  extern unsigned struct_rusage_sz;
129  extern unsigned struct_passwd_sz;
130  extern unsigned struct_group_sz;
131  extern unsigned siginfo_t_sz;
132  extern unsigned struct_itimerval_sz;
133  extern unsigned pthread_t_sz;
134  extern unsigned pthread_cond_t_sz;
135  extern unsigned pid_t_sz;
136  extern unsigned timeval_sz;
137  extern unsigned uid_t_sz;
138  extern unsigned mbstate_t_sz;
139  extern unsigned struct_timezone_sz;
140  extern unsigned struct_tms_sz;
141  extern unsigned struct_itimerspec_sz;
142  extern unsigned struct_sigevent_sz;
143  extern unsigned struct_sched_param_sz;
144  extern unsigned struct_statfs_sz;
145  extern unsigned struct_statfs64_sz;
146
147
148  extern unsigned ucontext_t_sz;
149# 187 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
150  struct __sanitizer_iovec {
151    void *iov_base;
152    uptr iov_len;
153  };
154
155
156  typedef unsigned long __sanitizer_pthread_key_t;
157
158
159
160
161  struct __sanitizer_ether_addr {
162    u8 octet[6];
163  };
164
165  struct __sanitizer_tm {
166    int tm_sec;
167    int tm_min;
168    int tm_hour;
169    int tm_mday;
170    int tm_mon;
171    int tm_year;
172    int tm_wday;
173    int tm_yday;
174    int tm_isdst;
175    long int tm_gmtoff;
176    const char *tm_zone;
177  };
178# 228 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
179  struct __sanitizer_msghdr {
180    void *msg_name;
181    unsigned msg_namelen;
182    struct __sanitizer_iovec *msg_iov;
183    unsigned msg_iovlen;
184    void *msg_control;
185    unsigned msg_controllen;
186    int msg_flags;
187  };
188  struct __sanitizer_cmsghdr {
189    unsigned cmsg_len;
190    int cmsg_level;
191    int cmsg_type;
192  };
193# 260 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
194  struct __sanitizer_dirent {
195    unsigned long long d_ino;
196    unsigned long long d_seekoff;
197    unsigned short d_reclen;
198
199  };
200# 321 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
201  const int pthread_attr_t_max_sz = 128;
202  union __sanitizer_pthread_attr_t {
203    char size[pthread_attr_t_max_sz];
204    void *align;
205  };
206
207
208
209
210  typedef unsigned __sanitizer_sigset_t;
211
212
213
214
215
216
217
218  struct __sanitizer_sigaction {
219    union {
220      void (*sa_handler)(int sig);
221      void (*sa_sigaction)(int sig, void *siginfo, void *uctx);
222    };
223    __sanitizer_sigset_t sa_mask;
224    int sa_flags;
225
226
227
228  };
229
230  struct __sanitizer_kernel_sigset_t {
231    u8 sig[8];
232  };
233
234  struct __sanitizer_kernel_sigaction_t {
235    union {
236      void (*sigaction)(int signo, void *info, void *ctx);
237      void (*handler)(int signo);
238    };
239    unsigned long sa_flags;
240    void (*sa_restorer)(void);
241    __sanitizer_kernel_sigset_t sa_mask;
242  };
243
244  extern uptr sig_ign;
245  extern uptr sig_dfl;
246  extern uptr sa_siginfo;
247
248
249
250
251
252  extern int af_inet;
253  extern int af_inet6;
254  uptr __sanitizer_in_addr_sz(int af);
255# 385 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
256  struct __sanitizer_addrinfo {
257    int ai_flags;
258    int ai_family;
259    int ai_socktype;
260    int ai_protocol;
261
262    unsigned ai_addrlen;
263    char *ai_canonname;
264    void *ai_addr;
265
266
267
268
269
270    struct __sanitizer_addrinfo *ai_next;
271  };
272
273  struct __sanitizer_hostent {
274    char *h_name;
275    char **h_aliases;
276    int h_addrtype;
277    int h_length;
278    char **h_addr_list;
279  };
280
281  struct __sanitizer_pollfd {
282    int fd;
283    short events;
284    short revents;
285  };
286
287
288  typedef unsigned __sanitizer_nfds_t;
289# 440 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
290  extern unsigned path_max;
291
292  struct __sanitizer_wordexp_t {
293    uptr we_wordc;
294    char **we_wordv;
295    uptr we_offs;
296  };
297# 479 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
298  struct __sanitizer_ifconf {
299    int ifc_len;
300    union {
301      void *ifcu_req;
302    } ifc_ifcu;
303
304  } __attribute__((packed));
305
306
307
308
309
310
311  extern unsigned struct_arpreq_sz;
312  extern unsigned struct_ifreq_sz;
313  extern unsigned struct_termios_sz;
314  extern unsigned struct_winsize_sz;
315# 568 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
316  extern unsigned IOCTL_NOT_PRESENT;
317
318  extern unsigned IOCTL_FIOASYNC;
319  extern unsigned IOCTL_FIOCLEX;
320  extern unsigned IOCTL_FIOGETOWN;
321  extern unsigned IOCTL_FIONBIO;
322  extern unsigned IOCTL_FIONCLEX;
323  extern unsigned IOCTL_FIOSETOWN;
324  extern unsigned IOCTL_SIOCADDMULTI;
325  extern unsigned IOCTL_SIOCATMARK;
326  extern unsigned IOCTL_SIOCDELMULTI;
327  extern unsigned IOCTL_SIOCGIFADDR;
328  extern unsigned IOCTL_SIOCGIFBRDADDR;
329  extern unsigned IOCTL_SIOCGIFCONF;
330  extern unsigned IOCTL_SIOCGIFDSTADDR;
331  extern unsigned IOCTL_SIOCGIFFLAGS;
332  extern unsigned IOCTL_SIOCGIFMETRIC;
333  extern unsigned IOCTL_SIOCGIFMTU;
334  extern unsigned IOCTL_SIOCGIFNETMASK;
335  extern unsigned IOCTL_SIOCGPGRP;
336  extern unsigned IOCTL_SIOCSIFADDR;
337  extern unsigned IOCTL_SIOCSIFBRDADDR;
338  extern unsigned IOCTL_SIOCSIFDSTADDR;
339  extern unsigned IOCTL_SIOCSIFFLAGS;
340  extern unsigned IOCTL_SIOCSIFMETRIC;
341  extern unsigned IOCTL_SIOCSIFMTU;
342  extern unsigned IOCTL_SIOCSIFNETMASK;
343  extern unsigned IOCTL_SIOCSPGRP;
344  extern unsigned IOCTL_TIOCCONS;
345  extern unsigned IOCTL_TIOCEXCL;
346  extern unsigned IOCTL_TIOCGETD;
347  extern unsigned IOCTL_TIOCGPGRP;
348  extern unsigned IOCTL_TIOCGWINSZ;
349  extern unsigned IOCTL_TIOCMBIC;
350  extern unsigned IOCTL_TIOCMBIS;
351  extern unsigned IOCTL_TIOCMGET;
352  extern unsigned IOCTL_TIOCMSET;
353  extern unsigned IOCTL_TIOCNOTTY;
354  extern unsigned IOCTL_TIOCNXCL;
355  extern unsigned IOCTL_TIOCOUTQ;
356  extern unsigned IOCTL_TIOCPKT;
357  extern unsigned IOCTL_TIOCSCTTY;
358  extern unsigned IOCTL_TIOCSETD;
359  extern unsigned IOCTL_TIOCSPGRP;
360  extern unsigned IOCTL_TIOCSTI;
361  extern unsigned IOCTL_TIOCSWINSZ;
362# 977 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h"
363  extern const int errno_EOWNERDEAD;
364}
365# 21 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
366
367# 1 "/usr/include/arpa/inet.h" 1 3 4
368# 89 "/usr/include/arpa/inet.h" 3 4
369# 1 "/usr/include/_types.h" 1 3 4
370# 27 "/usr/include/_types.h" 3 4
371# 1 "/usr/include/sys/_types.h" 1 3 4
372# 32 "/usr/include/sys/_types.h" 3 4
373# 1 "/usr/include/sys/cdefs.h" 1 3 4
374# 33 "/usr/include/sys/_types.h" 2 3 4
375# 1 "/usr/include/machine/_types.h" 1 3 4
376# 34 "/usr/include/machine/_types.h" 3 4
377# 1 "/usr/include/i386/_types.h" 1 3 4
378# 37 "/usr/include/i386/_types.h" 3 4
379typedef signed char __int8_t;
380
381
382
383typedef unsigned char __uint8_t;
384typedef short __int16_t;
385typedef unsigned short __uint16_t;
386typedef int __int32_t;
387typedef unsigned int __uint32_t;
388typedef long long __int64_t;
389typedef unsigned long long __uint64_t;
390
391typedef long __darwin_intptr_t;
392typedef unsigned int __darwin_natural_t;
393# 70 "/usr/include/i386/_types.h" 3 4
394typedef int __darwin_ct_rune_t;
395
396
397
398
399
400typedef union {
401 char __mbstate8[128];
402 long long _mbstateL;
403} __mbstate_t;
404
405typedef __mbstate_t __darwin_mbstate_t;
406
407
408typedef int __darwin_ptrdiff_t;
409
410
411
412
413
414typedef long unsigned int __darwin_size_t;
415
416
417
418
419
420typedef __builtin_va_list __darwin_va_list;
421
422
423
424
425
426typedef int __darwin_wchar_t;
427
428
429
430
431typedef __darwin_wchar_t __darwin_rune_t;
432
433
434typedef int __darwin_wint_t;
435
436
437
438
439typedef unsigned long __darwin_clock_t;
440typedef __uint32_t __darwin_socklen_t;
441typedef long __darwin_ssize_t;
442typedef long __darwin_time_t;
443# 35 "/usr/include/machine/_types.h" 2 3 4
444# 34 "/usr/include/sys/_types.h" 2 3 4
445# 58 "/usr/include/sys/_types.h" 3 4
446struct __darwin_pthread_handler_rec
447{
448 void (*__routine)(void *);
449 void *__arg;
450 struct __darwin_pthread_handler_rec *__next;
451};
452struct _opaque_pthread_attr_t { long __sig; char __opaque[36]; };
453struct _opaque_pthread_cond_t { long __sig; char __opaque[24]; };
454struct _opaque_pthread_condattr_t { long __sig; char __opaque[4]; };
455struct _opaque_pthread_mutex_t { long __sig; char __opaque[40]; };
456struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; };
457struct _opaque_pthread_once_t { long __sig; char __opaque[4]; };
458struct _opaque_pthread_rwlock_t { long __sig; char __opaque[124]; };
459struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[12]; };
460struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[596]; };
461# 94 "/usr/include/sys/_types.h" 3 4
462typedef __int64_t __darwin_blkcnt_t;
463typedef __int32_t __darwin_blksize_t;
464typedef __int32_t __darwin_dev_t;
465typedef unsigned int __darwin_fsblkcnt_t;
466typedef unsigned int __darwin_fsfilcnt_t;
467typedef __uint32_t __darwin_gid_t;
468typedef __uint32_t __darwin_id_t;
469typedef __uint64_t __darwin_ino64_t;
470
471
472
473typedef __uint32_t __darwin_ino_t;
474
475typedef __darwin_natural_t __darwin_mach_port_name_t;
476typedef __darwin_mach_port_name_t __darwin_mach_port_t;
477typedef __uint16_t __darwin_mode_t;
478typedef __int64_t __darwin_off_t;
479typedef __int32_t __darwin_pid_t;
480typedef struct _opaque_pthread_attr_t
481   __darwin_pthread_attr_t;
482typedef struct _opaque_pthread_cond_t
483   __darwin_pthread_cond_t;
484typedef struct _opaque_pthread_condattr_t
485   __darwin_pthread_condattr_t;
486typedef unsigned long __darwin_pthread_key_t;
487typedef struct _opaque_pthread_mutex_t
488   __darwin_pthread_mutex_t;
489typedef struct _opaque_pthread_mutexattr_t
490   __darwin_pthread_mutexattr_t;
491typedef struct _opaque_pthread_once_t
492   __darwin_pthread_once_t;
493typedef struct _opaque_pthread_rwlock_t
494   __darwin_pthread_rwlock_t;
495typedef struct _opaque_pthread_rwlockattr_t
496   __darwin_pthread_rwlockattr_t;
497typedef struct _opaque_pthread_t
498   *__darwin_pthread_t;
499typedef __uint32_t __darwin_sigset_t;
500typedef __int32_t __darwin_suseconds_t;
501typedef __uint32_t __darwin_uid_t;
502typedef __uint32_t __darwin_useconds_t;
503typedef unsigned char __darwin_uuid_t[16];
504# 28 "/usr/include/_types.h" 2 3 4
505
506typedef int __darwin_nl_item;
507typedef int __darwin_wctrans_t;
508
509
510
511typedef unsigned long __darwin_wctype_t;
512# 90 "/usr/include/arpa/inet.h" 2 3 4
513# 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdint.h" 1 3 4
514# 64 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdint.h" 3 4
515# 1 "/usr/include/stdint.h" 1 3 4
516# 20 "/usr/include/stdint.h" 3 4
517typedef signed char int8_t;
518
519
520
521
522typedef short int16_t;
523
524
525
526
527typedef int int32_t;
528
529
530
531
532typedef long long int64_t;
533
534
535
536
537typedef unsigned char uint8_t;
538
539
540
541
542typedef unsigned short uint16_t;
543
544
545
546
547typedef unsigned int uint32_t;
548
549
550
551
552typedef unsigned long long uint64_t;
553
554
555
556typedef int8_t int_least8_t;
557typedef int16_t int_least16_t;
558typedef int32_t int_least32_t;
559typedef int64_t int_least64_t;
560typedef uint8_t uint_least8_t;
561typedef uint16_t uint_least16_t;
562typedef uint32_t uint_least32_t;
563typedef uint64_t uint_least64_t;
564
565
566
567typedef int8_t int_fast8_t;
568typedef int16_t int_fast16_t;
569typedef int32_t int_fast32_t;
570typedef int64_t int_fast64_t;
571typedef uint8_t uint_fast8_t;
572typedef uint16_t uint_fast16_t;
573typedef uint32_t uint_fast32_t;
574typedef uint64_t uint_fast64_t;
575
576
577
578
579
580
581typedef long intptr_t;
582
583
584
585
586typedef unsigned long uintptr_t;
587
588
589
590
591
592
593
594typedef long long int intmax_t;
595# 106 "/usr/include/stdint.h" 3 4
596typedef long long unsigned int uintmax_t;
597# 65 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdint.h" 2 3 4
598# 91 "/usr/include/arpa/inet.h" 2 3 4
599# 1 "/usr/include/machine/endian.h" 1 3 4
600# 37 "/usr/include/machine/endian.h" 3 4
601# 1 "/usr/include/i386/endian.h" 1 3 4
602# 99 "/usr/include/i386/endian.h" 3 4
603# 1 "/usr/include/sys/_endian.h" 1 3 4
604# 124 "/usr/include/sys/_endian.h" 3 4
605# 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4
606# 66 "/usr/include/libkern/_OSByteOrder.h" 3 4
607# 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4
608# 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
609static inline
610__uint16_t
611_OSSwapInt16(
612    __uint16_t _data
613)
614{
615    return ((_data << 8) | (_data >> 8));
616}
617
618static inline
619__uint32_t
620_OSSwapInt32(
621    __uint32_t _data
622)
623{
624    __asm__ ("bswap   %0" : "+r" (_data));
625    return _data;
626}
627
628
629static inline
630__uint64_t
631_OSSwapInt64(
632    __uint64_t _data
633)
634{
635    __asm__ ("bswap   %%eax\n\t"
636             "bswap   %%edx\n\t"
637             "xchgl   %%eax, %%edx"
638             : "+A" (_data));
639    return _data;
640}
641# 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4
642# 125 "/usr/include/sys/_endian.h" 2 3 4
643# 100 "/usr/include/i386/endian.h" 2 3 4
644# 38 "/usr/include/machine/endian.h" 2 3 4
645# 92 "/usr/include/arpa/inet.h" 2 3 4
646
647# 1 "/usr/include/netinet/in.h" 1 3 4
648# 66 "/usr/include/netinet/in.h" 3 4
649# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
650# 67 "/usr/include/netinet/in.h" 2 3 4
651
652
653
654
655
656typedef __uint32_t in_addr_t;
657
658
659
660
661typedef __uint16_t in_port_t;
662
663
664
665
666
667
668
669
670# 1 "/usr/include/sys/socket.h" 1 3 4
671# 77 "/usr/include/sys/socket.h" 3 4
672# 1 "/usr/include/machine/_param.h" 1 3 4
673# 31 "/usr/include/machine/_param.h" 3 4
674# 1 "/usr/include/i386/_param.h" 1 3 4
675# 32 "/usr/include/machine/_param.h" 2 3 4
676# 78 "/usr/include/sys/socket.h" 2 3 4
677# 87 "/usr/include/sys/socket.h" 3 4
678typedef __darwin_gid_t gid_t;
679
680
681
682
683typedef __darwin_off_t off_t;
684
685
686
687
688typedef __darwin_pid_t pid_t;
689
690
691
692
693
694typedef __uint8_t sa_family_t;
695
696
697
698
699typedef __darwin_socklen_t socklen_t;
700
701
702
703
704
705typedef __darwin_size_t size_t;
706
707
708
709
710
711typedef __darwin_ssize_t ssize_t;
712
713
714
715
716
717
718
719struct iovec {
720 void * iov_base;
721 size_t iov_len;
722};
723# 210 "/usr/include/sys/socket.h" 3 4
724struct linger {
725 int l_onoff;
726 int l_linger;
727};
728# 294 "/usr/include/sys/socket.h" 3 4
729struct sockaddr {
730 __uint8_t sa_len;
731 sa_family_t sa_family;
732 char sa_data[14];
733};
734# 307 "/usr/include/sys/socket.h" 3 4
735struct sockproto {
736 __uint16_t sp_family;
737 __uint16_t sp_protocol;
738};
739# 327 "/usr/include/sys/socket.h" 3 4
740struct sockaddr_storage {
741 __uint8_t ss_len;
742 sa_family_t ss_family;
743 char __ss_pad1[((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t))];
744 __int64_t __ss_align;
745 char __ss_pad2[(128 - sizeof(__uint8_t) - sizeof(sa_family_t) - ((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t)) - (sizeof(__int64_t)))];
746};
747# 434 "/usr/include/sys/socket.h" 3 4
748struct msghdr {
749 void *msg_name;
750 socklen_t msg_namelen;
751 struct iovec *msg_iov;
752 int msg_iovlen;
753 void *msg_control;
754 socklen_t msg_controllen;
755 int msg_flags;
756};
757# 472 "/usr/include/sys/socket.h" 3 4
758struct cmsghdr {
759 socklen_t cmsg_len;
760 int cmsg_level;
761 int cmsg_type;
762
763};
764# 546 "/usr/include/sys/socket.h" 3 4
765struct sf_hdtr {
766 struct iovec *headers;
767 int hdr_cnt;
768 struct iovec *trailers;
769 int trl_cnt;
770};
771
772
773
774
775extern "C" {
776int accept(int, struct sockaddr * , socklen_t * )
777  __asm("_" "accept" "$UNIX2003") ;
778int bind(int, const struct sockaddr *, socklen_t) __asm("_" "bind" "$UNIX2003");
779int connect(int, const struct sockaddr *, socklen_t) __asm("_" "connect" "$UNIX2003") ;
780int getpeername(int, struct sockaddr * , socklen_t * )
781  __asm("_" "getpeername" "$UNIX2003");
782int getsockname(int, struct sockaddr * , socklen_t * )
783  __asm("_" "getsockname" "$UNIX2003");
784int getsockopt(int, int, int, void * , socklen_t * );
785int listen(int, int) __asm("_" "listen" "$UNIX2003");
786ssize_t recv(int, void *, size_t, int) __asm("_" "recv" "$UNIX2003") ;
787ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * ,
788  socklen_t * ) __asm("_" "recvfrom" "$UNIX2003") ;
789ssize_t recvmsg(int, struct msghdr *, int) __asm("_" "recvmsg" "$UNIX2003") ;
790ssize_t send(int, const void *, size_t, int) __asm("_" "send" "$UNIX2003") ;
791ssize_t sendmsg(int, const struct msghdr *, int) __asm("_" "sendmsg" "$UNIX2003") ;
792ssize_t sendto(int, const void *, size_t,
793  int, const struct sockaddr *, socklen_t) __asm("_" "sendto" "$UNIX2003") ;
794int setsockopt(int, int, int, const void *, socklen_t);
795int shutdown(int, int);
796int sockatmark(int);
797int socket(int, int, int);
798int socketpair(int, int, int, int *) __asm("_" "socketpair" "$UNIX2003");
799
800
801int sendfile(int, int, off_t, off_t *, struct sf_hdtr *, int);
802
803
804
805void pfctlinput(int, struct sockaddr *);
806
807}
808# 86 "/usr/include/netinet/in.h" 2 3 4
809# 304 "/usr/include/netinet/in.h" 3 4
810struct in_addr {
811 in_addr_t s_addr;
812};
813# 362 "/usr/include/netinet/in.h" 3 4
814struct sockaddr_in {
815 __uint8_t sin_len;
816 sa_family_t sin_family;
817 in_port_t sin_port;
818 struct in_addr sin_addr;
819 char sin_zero[8];
820};
821# 380 "/usr/include/netinet/in.h" 3 4
822struct ip_opts {
823 struct in_addr ip_dst;
824 char ip_opts[40];
825};
826# 462 "/usr/include/netinet/in.h" 3 4
827struct ip_mreq {
828 struct in_addr imr_multiaddr;
829 struct in_addr imr_interface;
830};
831# 514 "/usr/include/netinet/in.h" 3 4
832# 1 "/usr/include/netinet6/in6.h" 1 3 4
833# 130 "/usr/include/netinet6/in6.h" 3 4
834struct in6_addr {
835 union {
836  __uint8_t __u6_addr8[16];
837  __uint16_t __u6_addr16[8];
838  __uint32_t __u6_addr32[4];
839 } __u6_addr;
840};
841# 148 "/usr/include/netinet6/in6.h" 3 4
842struct sockaddr_in6 {
843 __uint8_t sin6_len;
844 sa_family_t sin6_family;
845 in_port_t sin6_port;
846 __uint32_t sin6_flowinfo;
847 struct in6_addr sin6_addr;
848 __uint32_t sin6_scope_id;
849};
850# 188 "/usr/include/netinet6/in6.h" 3 4
851extern const struct in6_addr in6addr_any;
852extern const struct in6_addr in6addr_loopback;
853
854extern const struct in6_addr in6addr_nodelocal_allnodes;
855extern const struct in6_addr in6addr_linklocal_allnodes;
856extern const struct in6_addr in6addr_linklocal_allrouters;
857# 365 "/usr/include/netinet6/in6.h" 3 4
858struct ipv6_mreq {
859 struct in6_addr ipv6mr_multiaddr;
860 unsigned int ipv6mr_interface;
861};
862
863
864
865
866struct in6_pktinfo {
867 struct in6_addr ipi6_addr;
868 unsigned int ipi6_ifindex;
869};
870# 442 "/usr/include/netinet6/in6.h" 3 4
871extern "C" {
872struct cmsghdr;
873
874extern int inet6_option_space(int);
875extern int inet6_option_init(void *, struct cmsghdr **, int);
876extern int inet6_option_append(struct cmsghdr *, const __uint8_t *,
877 int, int);
878extern __uint8_t *inet6_option_alloc(struct cmsghdr *, int, int, int);
879extern int inet6_option_next(const struct cmsghdr *, __uint8_t **);
880extern int inet6_option_find(const struct cmsghdr *, __uint8_t **, int);
881
882extern size_t inet6_rthdr_space(int, int);
883extern struct cmsghdr *inet6_rthdr_init(void *, int);
884extern int inet6_rthdr_add(struct cmsghdr *, const struct in6_addr *,
885  unsigned int);
886extern int inet6_rthdr_lasthop(struct cmsghdr *, unsigned int);
887
888
889
890extern int inet6_rthdr_segments(const struct cmsghdr *);
891extern struct in6_addr *inet6_rthdr_getaddr(struct cmsghdr *, int);
892extern int inet6_rthdr_getflags(const struct cmsghdr *, int);
893
894extern int inet6_opt_init(void *, size_t);
895extern int inet6_opt_append(void *, size_t, int, __uint8_t,
896     size_t, __uint8_t, void **);
897extern int inet6_opt_finish(void *, size_t, int);
898extern int inet6_opt_set_val(void *, size_t, void *, int);
899
900extern int inet6_opt_next(void *, size_t, int, __uint8_t *,
901          size_t *, void **);
902extern int inet6_opt_find(void *, size_t, int, __uint8_t,
903     size_t *, void **);
904extern int inet6_opt_get_val(void *, size_t, void *, int);
905extern size_t inet6_rth_space(int, int);
906extern void *inet6_rth_init(void *, int, int, int);
907extern int inet6_rth_add(void *, const struct in6_addr *);
908extern int inet6_rth_reverse(const void *, void *);
909extern int inet6_rth_segments(const void *);
910extern struct in6_addr *inet6_rth_getaddr(const void *, int);
911}
912# 515 "/usr/include/netinet/in.h" 2 3 4
913# 94 "/usr/include/arpa/inet.h" 2 3 4
914
915extern "C" {
916
917in_addr_t inet_addr(const char *);
918char *inet_ntoa(struct in_addr);
919const char *inet_ntop(int, const void *, char *, socklen_t);
920int inet_pton(int, const char *, void *);
921
922int ascii2addr(int, const char *, void *);
923char *addr2ascii(int, const void *, int, char *);
924int inet_aton(const char *, struct in_addr *);
925in_addr_t inet_lnaof(struct in_addr);
926struct in_addr inet_makeaddr(in_addr_t, in_addr_t);
927in_addr_t inet_netof(struct in_addr);
928in_addr_t inet_network(const char *);
929char *inet_net_ntop(int, const void *, int, char *, __darwin_size_t);
930int inet_net_pton(int, const char *, void *, __darwin_size_t);
931char *inet_neta(in_addr_t, char *, __darwin_size_t);
932unsigned int inet_nsap_addr(const char *, unsigned char *, int maxlen);
933char *inet_nsap_ntoa(int, const unsigned char *, char *ascii);
934
935
936}
937# 23 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
938# 1 "/usr/include/dirent.h" 1 3 4
939# 66 "/usr/include/dirent.h" 3 4
940# 1 "/usr/include/sys/dirent.h" 1 3 4
941# 82 "/usr/include/sys/dirent.h" 3 4
942typedef __darwin_ino_t ino_t;
943
944
945
946
947
948
949#pragma pack(4)
950
951
952struct dirent {
953 ino_t d_ino;
954 __uint16_t d_reclen;
955 __uint8_t d_type;
956 __uint8_t d_namlen;
957 char d_name[255 + 1];
958};
959
960
961#pragma pack()
962# 67 "/usr/include/dirent.h" 2 3 4
963
964struct _telldir;
965
966
967typedef struct {
968 int __dd_fd;
969 long __dd_loc;
970 long __dd_size;
971 char *__dd_buf;
972 int __dd_len;
973 long __dd_seek;
974 long __dd_rewind;
975 int __dd_flags;
976 __darwin_pthread_mutex_t __dd_lock;
977 struct _telldir *__dd_td;
978} DIR;
979# 102 "/usr/include/dirent.h" 3 4
980extern "C" {
981
982int alphasort(const void *, const void *) __asm("_" "alphasort") ;
983
984int closedir(DIR *) __asm("_" "closedir" "$UNIX2003");
985
986int getdirentries(int, char *, int, long *);
987
988DIR *opendir(const char *) __asm("_" "opendir" "$UNIX2003") ;
989
990DIR *__opendir2(const char *, int) __asm("_" "__opendir2" "$UNIX2003") ;
991
992struct dirent *readdir(DIR *) __asm("_" "readdir") ;
993int readdir_r(DIR *, struct dirent *, struct dirent **) __asm("_" "readdir_r") ;
994void rewinddir(DIR *) __asm("_" "rewinddir" "$UNIX2003") ;
995
996int scandir(const char *, struct dirent ***,
997    int (*)(struct dirent *), int (*)(const void *, const void *)) __asm("_" "scandir") ;
998
999void seekdir(DIR *, long) __asm("_" "seekdir" "$UNIX2003") ;
1000long telldir(DIR *) __asm("_" "telldir" "$UNIX2003") ;
1001}
1002# 24 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
1003# 1 "/usr/include/errno.h" 1 3 4
1004# 23 "/usr/include/errno.h" 3 4
1005# 1 "/usr/include/sys/errno.h" 1 3 4
1006# 73 "/usr/include/sys/errno.h" 3 4
1007extern "C" {
1008extern int * __error(void);
1009
1010}
1011# 24 "/usr/include/errno.h" 2 3 4
1012# 25 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
1013# 1 "/usr/include/grp.h" 1 3 4
1014# 87 "/usr/include/grp.h" 3 4
1015struct group {
1016 char *gr_name;
1017 char *gr_passwd;
1018 gid_t gr_gid;
1019 char **gr_mem;
1020};
1021
1022
1023
1024extern "C" {
1025
1026struct group *getgrgid(gid_t);
1027struct group *getgrnam(const char *);
1028
1029int getgrgid_r(gid_t, struct group *, char *, size_t, struct group **);
1030int getgrnam_r(const char *, struct group *, char *, size_t, struct group **);
1031
1032struct group *getgrent(void);
1033void setgrent(void);
1034void endgrent(void);
1035
1036
1037
1038char *group_from_gid(gid_t, int);
1039
1040void setgrfile(const char *);
1041int setgroupent(int);
1042
1043}
1044# 26 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
1045# 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/limits.h" 1 3 4
1046# 38 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/limits.h" 3 4
1047# 1 "/usr/include/limits.h" 1 3 4
1048# 64 "/usr/include/limits.h" 3 4
1049# 1 "/usr/include/machine/limits.h" 1 3 4
1050
1051
1052
1053
1054
1055
1056
1057# 1 "/usr/include/i386/limits.h" 1 3 4
1058# 40 "/usr/include/i386/limits.h" 3 4
1059# 1 "/usr/include/i386/_limits.h" 1 3 4
1060# 41 "/usr/include/i386/limits.h" 2 3 4
1061# 9 "/usr/include/machine/limits.h" 2 3 4
1062# 65 "/usr/include/limits.h" 2 3 4
1063# 1 "/usr/include/sys/syslimits.h" 1 3 4
1064# 66 "/usr/include/limits.h" 2 3 4
1065# 39 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/limits.h" 2 3 4
1066# 27 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
1067# 1 "/usr/include/net/if.h" 1 3 4
1068# 98 "/usr/include/net/if.h" 3 4
1069# 1 "/usr/include/net/if_var.h" 1 3 4
1070# 68 "/usr/include/net/if_var.h" 3 4
1071# 1 "/usr/include/sys/types.h" 1 3 4
1072# 78 "/usr/include/sys/types.h" 3 4
1073# 1 "/usr/include/machine/types.h" 1 3 4
1074# 37 "/usr/include/machine/types.h" 3 4
1075# 1 "/usr/include/i386/types.h" 1 3 4
1076# 80 "/usr/include/i386/types.h" 3 4
1077typedef unsigned char u_int8_t;
1078
1079
1080
1081
1082typedef unsigned short u_int16_t;
1083
1084
1085
1086
1087typedef unsigned int u_int32_t;
1088
1089
1090
1091
1092typedef unsigned long long u_int64_t;
1093
1094
1095
1096
1097typedef int32_t register_t;
1098# 114 "/usr/include/i386/types.h" 3 4
1099typedef u_int64_t user_addr_t;
1100typedef u_int64_t user_size_t;
1101typedef int64_t user_ssize_t;
1102typedef int64_t user_long_t;
1103typedef u_int64_t user_ulong_t;
1104typedef int64_t user_time_t;
1105
1106
1107
1108
1109
1110typedef u_int64_t syscall_arg_t;
1111# 38 "/usr/include/machine/types.h" 2 3 4
1112# 79 "/usr/include/sys/types.h" 2 3 4
1113
1114
1115
1116
1117
1118typedef unsigned char u_char;
1119typedef unsigned short u_short;
1120typedef unsigned int u_int;
1121
1122typedef unsigned long u_long;
1123
1124
1125typedef unsigned short ushort;
1126typedef unsigned int uint;
1127
1128
1129typedef u_int64_t u_quad_t;
1130typedef int64_t quad_t;
1131typedef quad_t * qaddr_t;
1132
1133typedef char * caddr_t;
1134typedef int32_t daddr_t;
1135
1136
1137typedef __darwin_dev_t dev_t;
1138
1139
1140
1141typedef u_int32_t fixpt_t;
1142
1143
1144typedef __darwin_blkcnt_t blkcnt_t;
1145
1146
1147
1148
1149typedef __darwin_blksize_t blksize_t;
1150# 141 "/usr/include/sys/types.h" 3 4
1151typedef __darwin_ino64_t ino64_t;
1152
1153
1154
1155
1156
1157
1158typedef __int32_t key_t;
1159
1160
1161
1162typedef __darwin_mode_t mode_t;
1163
1164
1165
1166
1167typedef __uint16_t nlink_t;
1168
1169
1170
1171
1172
1173typedef __darwin_id_t id_t;
1174# 176 "/usr/include/sys/types.h" 3 4
1175typedef int32_t segsz_t;
1176typedef int32_t swblk_t;
1177
1178
1179typedef __darwin_uid_t uid_t;
1180# 197 "/usr/include/sys/types.h" 3 4
1181static inline __int32_t major(__uint32_t _x)
1182{
1183 return (__int32_t)(((__uint32_t)_x >> 24) & 0xff);
1184}
1185
1186static inline __int32_t minor(__uint32_t _x)
1187{
1188 return (__int32_t)((_x) & 0xffffff);
1189}
1190
1191static inline dev_t makedev(__uint32_t _major, __uint32_t _minor)
1192{
1193 return (dev_t)(((_major) << 24) | (_minor));
1194}
1195# 223 "/usr/include/sys/types.h" 3 4
1196typedef __darwin_clock_t clock_t;
1197# 240 "/usr/include/sys/types.h" 3 4
1198typedef __darwin_time_t time_t;
1199
1200
1201
1202
1203typedef __darwin_useconds_t useconds_t;
1204
1205
1206
1207
1208typedef __darwin_suseconds_t suseconds_t;
1209# 260 "/usr/include/sys/types.h" 3 4
1210# 1 "/usr/include/sys/_structs.h" 1 3 4
1211# 183 "/usr/include/sys/_structs.h" 3 4
1212extern "C" {
1213typedef struct fd_set {
1214 __int32_t fds_bits[(((1024) + (((sizeof(__int32_t) * 8)) - 1)) / ((sizeof(__int32_t) * 8)))];
1215} fd_set;
1216}
1217
1218
1219static inline int
1220__darwin_fd_isset(int _n, struct fd_set *_p)
1221{
1222 return (_p->fds_bits[_n/(sizeof(__int32_t) * 8)] & (1<<(_n % (sizeof(__int32_t) * 8))));
1223}
1224# 261 "/usr/include/sys/types.h" 2 3 4
1225
1226
1227
1228
1229typedef __int32_t fd_mask;
1230# 318 "/usr/include/sys/types.h" 3 4
1231typedef __darwin_pthread_attr_t pthread_attr_t;
1232
1233
1234
1235typedef __darwin_pthread_cond_t pthread_cond_t;
1236
1237
1238
1239typedef __darwin_pthread_condattr_t pthread_condattr_t;
1240
1241
1242
1243typedef __darwin_pthread_mutex_t pthread_mutex_t;
1244
1245
1246
1247typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t;
1248
1249
1250
1251typedef __darwin_pthread_once_t pthread_once_t;
1252
1253
1254
1255typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
1256
1257
1258
1259typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t;
1260
1261
1262
1263typedef __darwin_pthread_t pthread_t;
1264
1265
1266
1267
1268
1269
1270typedef __darwin_pthread_key_t pthread_key_t;
1271
1272
1273
1274
1275
1276typedef __darwin_fsblkcnt_t fsblkcnt_t;
1277
1278
1279
1280
1281typedef __darwin_fsfilcnt_t fsfilcnt_t;
1282# 69 "/usr/include/net/if_var.h" 2 3 4
1283# 1 "/usr/include/sys/time.h" 1 3 4
1284# 77 "/usr/include/sys/time.h" 3 4
1285# 1 "/usr/include/sys/_structs.h" 1 3 4
1286# 88 "/usr/include/sys/_structs.h" 3 4
1287struct timespec
1288{
1289 __darwin_time_t tv_sec;
1290 long tv_nsec;
1291};
1292
1293
1294
1295
1296
1297
1298
1299struct timeval
1300{
1301 __darwin_time_t tv_sec;
1302 __darwin_suseconds_t tv_usec;
1303};
1304# 78 "/usr/include/sys/time.h" 2 3 4
1305# 93 "/usr/include/sys/time.h" 3 4
1306struct itimerval {
1307 struct timeval it_interval;
1308 struct timeval it_value;
1309};
1310# 144 "/usr/include/sys/time.h" 3 4
1311struct timezone {
1312 int tz_minuteswest;
1313 int tz_dsttime;
1314};
1315# 187 "/usr/include/sys/time.h" 3 4
1316struct clockinfo {
1317 int hz;
1318 int tick;
1319 int tickadj;
1320 int stathz;
1321 int profhz;
1322};
1323
1324
1325
1326
1327
1328# 1 "/usr/include/time.h" 1 3 4
1329# 69 "/usr/include/time.h" 3 4
1330# 1 "/usr/include/_structs.h" 1 3 4
1331# 24 "/usr/include/_structs.h" 3 4
1332# 1 "/usr/include/sys/_structs.h" 1 3 4
1333# 25 "/usr/include/_structs.h" 2 3 4
1334# 70 "/usr/include/time.h" 2 3 4
1335# 90 "/usr/include/time.h" 3 4
1336struct tm {
1337 int tm_sec;
1338 int tm_min;
1339 int tm_hour;
1340 int tm_mday;
1341 int tm_mon;
1342 int tm_year;
1343 int tm_wday;
1344 int tm_yday;
1345 int tm_isdst;
1346 long tm_gmtoff;
1347 char *tm_zone;
1348};
1349# 113 "/usr/include/time.h" 3 4
1350extern char *tzname[];
1351
1352
1353extern int getdate_err;
1354
1355extern long timezone __asm("_" "timezone" "$UNIX2003");
1356
1357extern int daylight;
1358
1359extern "C" {
1360char *asctime(const struct tm *);
1361clock_t clock(void) __asm("_" "clock" "$UNIX2003");
1362char *ctime(const time_t *);
1363double difftime(time_t, time_t);
1364struct tm *getdate(const char *);
1365struct tm *gmtime(const time_t *);
1366struct tm *localtime(const time_t *);
1367time_t mktime(struct tm *) __asm("_" "mktime" "$UNIX2003");
1368size_t strftime(char * , size_t, const char * , const struct tm * ) __asm("_" "strftime" "$UNIX2003");
1369char *strptime(const char * , const char * , struct tm * ) __asm("_" "strptime" "$UNIX2003");
1370time_t time(time_t *);
1371
1372
1373void tzset(void);
1374
1375
1376
1377char *asctime_r(const struct tm * , char * );
1378char *ctime_r(const time_t *, char *);
1379struct tm *gmtime_r(const time_t * , struct tm * );
1380struct tm *localtime_r(const time_t * , struct tm * );
1381
1382
1383time_t posix2time(time_t);
1384
1385
1386
1387void tzsetwall(void);
1388time_t time2posix(time_t);
1389time_t timelocal(struct tm * const);
1390time_t timegm(struct tm * const);
1391
1392
1393
1394int nanosleep(const struct timespec *, struct timespec *) __asm("_" "nanosleep" "$UNIX2003") ;
1395
1396}
1397# 199 "/usr/include/sys/time.h" 2 3 4
1398
1399
1400extern "C" {
1401
1402
1403int adjtime(const struct timeval *, struct timeval *);
1404int futimes(int, const struct timeval *);
1405int lutimes(const char *, const struct timeval *);
1406int settimeofday(const struct timeval *, const struct timezone *);
1407
1408
1409int getitimer(int, struct itimerval *);
1410int gettimeofday(struct timeval * , void * );
1411
1412
1413# 1 "/usr/include/sys/_select.h" 1 3 4
1414# 39 "/usr/include/sys/_select.h" 3 4
1415int select(int, fd_set * , fd_set * ,
1416  fd_set * , struct timeval * )
1417
1418
1419
1420
1421
1422
1423  __asm("_" "select" "$UNIX2003")
1424
1425
1426  ;
1427# 214 "/usr/include/sys/time.h" 2 3 4
1428
1429int setitimer(int, const struct itimerval * ,
1430  struct itimerval * );
1431int utimes(const char *, const struct timeval *);
1432
1433}
1434# 70 "/usr/include/net/if_var.h" 2 3 4
1435# 1 "/usr/include/sys/queue.h" 1 3 4
1436# 71 "/usr/include/net/if_var.h" 2 3 4
1437# 128 "/usr/include/net/if_var.h" 3 4
1438struct net_event_data {
1439 u_int32_t if_family;
1440 u_int32_t if_unit;
1441 char if_name[16];
1442};
1443# 142 "/usr/include/net/if_var.h" 3 4
1444#pragma pack(4)
1445
1446
1447
1448
1449
1450struct if_data {
1451
1452 u_char ifi_type;
1453 u_char ifi_typelen;
1454 u_char ifi_physical;
1455 u_char ifi_addrlen;
1456 u_char ifi_hdrlen;
1457 u_char ifi_recvquota;
1458 u_char ifi_xmitquota;
1459 u_char ifi_unused1;
1460 u_int32_t ifi_mtu;
1461 u_int32_t ifi_metric;
1462 u_int32_t ifi_baudrate;
1463
1464 u_int32_t ifi_ipackets;
1465 u_int32_t ifi_ierrors;
1466 u_int32_t ifi_opackets;
1467 u_int32_t ifi_oerrors;
1468 u_int32_t ifi_collisions;
1469 u_int32_t ifi_ibytes;
1470 u_int32_t ifi_obytes;
1471 u_int32_t ifi_imcasts;
1472 u_int32_t ifi_omcasts;
1473 u_int32_t ifi_iqdrops;
1474 u_int32_t ifi_noproto;
1475 u_int32_t ifi_recvtiming;
1476 u_int32_t ifi_xmittiming;
1477 struct timeval ifi_lastchange;
1478 u_int32_t ifi_unused2;
1479 u_int32_t ifi_hwassist;
1480 u_int32_t ifi_reserved1;
1481 u_int32_t ifi_reserved2;
1482};
1483
1484
1485
1486
1487
1488struct if_data64 {
1489
1490 u_char ifi_type;
1491 u_char ifi_typelen;
1492 u_char ifi_physical;
1493 u_char ifi_addrlen;
1494 u_char ifi_hdrlen;
1495 u_char ifi_recvquota;
1496 u_char ifi_xmitquota;
1497 u_char ifi_unused1;
1498 u_int32_t ifi_mtu;
1499 u_int32_t ifi_metric;
1500 u_int64_t ifi_baudrate;
1501
1502 u_int64_t ifi_ipackets;
1503 u_int64_t ifi_ierrors;
1504 u_int64_t ifi_opackets;
1505 u_int64_t ifi_oerrors;
1506 u_int64_t ifi_collisions;
1507 u_int64_t ifi_ibytes;
1508 u_int64_t ifi_obytes;
1509 u_int64_t ifi_imcasts;
1510 u_int64_t ifi_omcasts;
1511 u_int64_t ifi_iqdrops;
1512 u_int64_t ifi_noproto;
1513 u_int32_t ifi_recvtiming;
1514 u_int32_t ifi_xmittiming;
1515 struct timeval ifi_lastchange;
1516};
1517
1518#pragma pack()
1519
1520
1521
1522
1523struct ifqueue {
1524 void *ifq_head;
1525 void *ifq_tail;
1526 int ifq_len;
1527 int ifq_maxlen;
1528 int ifq_drops;
1529};
1530# 99 "/usr/include/net/if.h" 2 3 4
1531# 129 "/usr/include/net/if.h" 3 4
1532struct if_msghdr {
1533 unsigned short ifm_msglen;
1534 unsigned char ifm_version;
1535 unsigned char ifm_type;
1536 int ifm_addrs;
1537 int ifm_flags;
1538 unsigned short ifm_index;
1539 struct if_data ifm_data;
1540};
1541
1542
1543
1544
1545
1546struct ifa_msghdr {
1547 unsigned short ifam_msglen;
1548 unsigned char ifam_version;
1549 unsigned char ifam_type;
1550 int ifam_addrs;
1551 int ifam_flags;
1552 unsigned short ifam_index;
1553 int ifam_metric;
1554};
1555
1556
1557
1558
1559
1560struct ifma_msghdr {
1561 unsigned short ifmam_msglen;
1562 unsigned char ifmam_version;
1563 unsigned char ifmam_type;
1564 int ifmam_addrs;
1565 int ifmam_flags;
1566 unsigned short ifmam_index;
1567};
1568
1569
1570
1571
1572
1573struct if_msghdr2 {
1574 u_short ifm_msglen;
1575 u_char ifm_version;
1576 u_char ifm_type;
1577 int ifm_addrs;
1578 int ifm_flags;
1579 u_short ifm_index;
1580 int ifm_snd_len;
1581 int ifm_snd_maxlen;
1582 int ifm_snd_drops;
1583 int ifm_timer;
1584 struct if_data64 ifm_data;
1585};
1586
1587
1588
1589
1590
1591struct ifma_msghdr2 {
1592 u_short ifmam_msglen;
1593 u_char ifmam_version;
1594 u_char ifmam_type;
1595 int ifmam_addrs;
1596 int ifmam_flags;
1597 u_short ifmam_index;
1598 int32_t ifmam_refcount;
1599};
1600
1601
1602
1603
1604
1605
1606struct ifdevmtu {
1607 int ifdm_current;
1608 int ifdm_min;
1609 int ifdm_max;
1610};
1611
1612#pragma pack(4)
1613# 236 "/usr/include/net/if.h" 3 4
1614struct ifkpi {
1615 unsigned int ifk_module_id;
1616 unsigned int ifk_type;
1617 union {
1618  void *ifk_ptr;
1619  int ifk_value;
1620 } ifk_data;
1621};
1622
1623#pragma pack()
1624
1625
1626
1627
1628
1629
1630
1631struct ifreq {
1632
1633
1634
1635 char ifr_name[16];
1636 union {
1637  struct sockaddr ifru_addr;
1638  struct sockaddr ifru_dstaddr;
1639  struct sockaddr ifru_broadaddr;
1640  short ifru_flags;
1641  int ifru_metric;
1642  int ifru_mtu;
1643  int ifru_phys;
1644  int ifru_media;
1645  int ifru_intval;
1646  caddr_t ifru_data;
1647  struct ifdevmtu ifru_devmtu;
1648  struct ifkpi ifru_kpi;
1649 } ifr_ifru;
1650# 289 "/usr/include/net/if.h" 3 4
1651};
1652
1653
1654
1655
1656
1657
1658struct ifaliasreq {
1659 char ifra_name[16];
1660 struct sockaddr ifra_addr;
1661 struct sockaddr ifra_broadaddr;
1662 struct sockaddr ifra_mask;
1663};
1664
1665struct rslvmulti_req {
1666     struct sockaddr *sa;
1667     struct sockaddr **llsa;
1668};
1669
1670#pragma pack(4)
1671
1672struct ifmediareq {
1673 char ifm_name[16];
1674 int ifm_current;
1675 int ifm_mask;
1676 int ifm_status;
1677 int ifm_active;
1678 int ifm_count;
1679 int *ifm_ulist;
1680};
1681
1682#pragma pack()
1683# 331 "/usr/include/net/if.h" 3 4
1684struct ifstat {
1685 char ifs_name[16];
1686 char ascii[800 + 1];
1687};
1688
1689#pragma pack(4)
1690
1691
1692
1693
1694
1695
1696
1697struct ifconf {
1698 int ifc_len;
1699 union {
1700  caddr_t ifcu_buf;
1701  struct ifreq *ifcu_req;
1702 } ifc_ifcu;
1703};
1704
1705
1706
1707#pragma pack()
1708
1709
1710
1711
1712
1713struct kev_dl_proto_data {
1714     struct net_event_data link_data;
1715     u_int32_t proto_family;
1716     u_int32_t proto_remaining_count;
1717};
1718
1719
1720
1721
1722struct if_laddrreq {
1723 char iflr_name[16];
1724 unsigned int flags;
1725
1726 unsigned int prefixlen;
1727 struct sockaddr_storage addr;
1728 struct sockaddr_storage dstaddr;
1729};
1730
1731
1732
1733struct if_nameindex {
1734 unsigned int if_index;
1735 char *if_name;
1736};
1737
1738extern "C" {
1739unsigned int if_nametoindex(const char *);
1740char *if_indextoname(unsigned int, char *);
1741struct if_nameindex *if_nameindex(void);
1742void if_freenameindex(struct if_nameindex *);
1743}
1744# 28 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
1745# 1 "/usr/include/net/if_arp.h" 1 3 4
1746# 79 "/usr/include/net/if_arp.h" 3 4
1747struct arphdr {
1748 u_short ar_hrd;
1749
1750
1751
1752
1753
1754 u_short ar_pro;
1755 u_char ar_hln;
1756 u_char ar_pln;
1757 u_short ar_op;
1758# 106 "/usr/include/net/if_arp.h" 3 4
1759};
1760
1761
1762
1763
1764struct arpreq {
1765 struct sockaddr arp_pa;
1766 struct sockaddr arp_ha;
1767 int arp_flags;
1768};
1769# 29 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
1770# 1 "/usr/include/net/route.h" 1 3 4
1771# 82 "/usr/include/net/route.h" 3 4
1772struct route;
1773
1774
1775
1776
1777
1778struct rt_metrics {
1779 u_int32_t rmx_locks;
1780 u_int32_t rmx_mtu;
1781 u_int32_t rmx_hopcount;
1782 int32_t rmx_expire;
1783 u_int32_t rmx_recvpipe;
1784 u_int32_t rmx_sendpipe;
1785 u_int32_t rmx_ssthresh;
1786 u_int32_t rmx_rtt;
1787 u_int32_t rmx_rttvar;
1788 u_int32_t rmx_pksent;
1789 u_int32_t rmx_filler[4];
1790};
1791# 125 "/usr/include/net/route.h" 3 4
1792struct ortentry {
1793 u_long rt_hash;
1794 struct sockaddr rt_dst;
1795 struct sockaddr rt_gateway;
1796 short rt_flags;
1797 short rt_refcnt;
1798 u_long rt_use;
1799 struct ifnet *rt_ifp;
1800};
1801# 167 "/usr/include/net/route.h" 3 4
1802struct rtstat {
1803 short rts_badredirect;
1804 short rts_dynamic;
1805 short rts_newgateway;
1806 short rts_unreach;
1807 short rts_wildcard;
1808};
1809
1810
1811
1812
1813struct rt_msghdr {
1814 u_short rtm_msglen;
1815 u_char rtm_version;
1816 u_char rtm_type;
1817 u_short rtm_index;
1818 int rtm_flags;
1819 int rtm_addrs;
1820 pid_t rtm_pid;
1821 int rtm_seq;
1822 int rtm_errno;
1823 int rtm_use;
1824 u_int32_t rtm_inits;
1825 struct rt_metrics rtm_rmx;
1826};
1827
1828struct rt_msghdr2 {
1829 u_short rtm_msglen;
1830 u_char rtm_version;
1831 u_char rtm_type;
1832 u_short rtm_index;
1833 int rtm_flags;
1834 int rtm_addrs;
1835 int32_t rtm_refcnt;
1836 int rtm_parentflags;
1837 int rtm_reserved;
1838 int rtm_use;
1839 u_int32_t rtm_inits;
1840 struct rt_metrics rtm_rmx;
1841};
1842# 271 "/usr/include/net/route.h" 3 4
1843struct rt_addrinfo {
1844 int rti_addrs;
1845 struct sockaddr *rti_info[8];
1846};
1847
1848struct route_cb {
1849 int ip_count;
1850 int ip6_count;
1851 int ipx_count;
1852 int ns_count;
1853 int iso_count;
1854 int any_count;
1855};
1856# 30 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
1857# 1 "/usr/include/netdb.h" 1 3 4
1858# 104 "/usr/include/netdb.h" 3 4
1859extern int h_errno;
1860# 115 "/usr/include/netdb.h" 3 4
1861struct hostent {
1862 char *h_name;
1863 char **h_aliases;
1864 int h_addrtype;
1865 int h_length;
1866 char **h_addr_list;
1867
1868
1869
1870};
1871
1872
1873
1874
1875
1876struct netent {
1877 char *n_name;
1878 char **n_aliases;
1879 int n_addrtype;
1880 uint32_t n_net;
1881};
1882
1883struct servent {
1884 char *s_name;
1885 char **s_aliases;
1886 int s_port;
1887 char *s_proto;
1888};
1889
1890struct protoent {
1891 char *p_name;
1892 char **p_aliases;
1893 int p_proto;
1894};
1895
1896struct addrinfo {
1897 int ai_flags;
1898 int ai_family;
1899 int ai_socktype;
1900 int ai_protocol;
1901 socklen_t ai_addrlen;
1902 char *ai_canonname;
1903 struct sockaddr *ai_addr;
1904 struct addrinfo *ai_next;
1905};
1906
1907
1908struct rpcent {
1909        char *r_name;
1910        char **r_aliases;
1911        int r_number;
1912};
1913# 255 "/usr/include/netdb.h" 3 4
1914extern "C" {
1915
1916void endhostent(void);
1917void endnetent(void);
1918void endprotoent(void);
1919void endservent(void);
1920
1921void freeaddrinfo(struct addrinfo *);
1922const char *gai_strerror(int);
1923int getaddrinfo(const char * , const char * ,
1924       const struct addrinfo * ,
1925       struct addrinfo ** );
1926struct hostent *gethostbyaddr(const void *, socklen_t, int);
1927struct hostent *gethostbyname(const char *);
1928struct hostent *gethostent(void);
1929int getnameinfo(const struct sockaddr * , socklen_t,
1930         char * , socklen_t, char * ,
1931         socklen_t, int);
1932struct netent *getnetbyaddr(uint32_t, int);
1933struct netent *getnetbyname(const char *);
1934struct netent *getnetent(void);
1935struct protoent *getprotobyname(const char *);
1936struct protoent *getprotobynumber(int);
1937struct protoent *getprotoent(void);
1938struct servent *getservbyname(const char *, const char *);
1939struct servent *getservbyport(int, const char *);
1940struct servent *getservent(void);
1941void sethostent(int);
1942
1943void setnetent(int);
1944void setprotoent(int);
1945void setservent(int);
1946
1947
1948void freehostent(struct hostent *);
1949struct hostent *gethostbyname2(const char *, int);
1950struct hostent *getipnodebyaddr(const void *, size_t, int, int *);
1951struct hostent *getipnodebyname(const char *, int, int, int *);
1952struct rpcent *getrpcbyname(const char *name);
1953
1954
1955
1956struct rpcent *getrpcbynumber(long number);
1957
1958struct rpcent *getrpcent(void);
1959void setrpcent(int stayopen);
1960void endrpcent(void);
1961void herror(const char *);
1962const char *hstrerror(int);
1963int innetgr(const char *, const char *, const char *, const char *);
1964int getnetgrent(char **, char **, char **);
1965void endnetgrent(void);
1966void setnetgrent(const char *);
1967
1968
1969}
1970# 31 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
1971# 1 "/usr/include/poll.h" 1 3 4
1972# 23 "/usr/include/poll.h" 3 4
1973# 1 "/usr/include/sys/poll.h" 1 3 4
1974# 96 "/usr/include/sys/poll.h" 3 4
1975struct pollfd
1976{
1977 int fd;
1978 short events;
1979 short revents;
1980};
1981
1982typedef unsigned int nfds_t;
1983
1984
1985
1986
1987extern "C" {
1988
1989
1990
1991
1992
1993extern int poll (struct pollfd *, nfds_t, int) __asm("_" "poll" "$UNIX2003") ;
1994
1995}
1996# 24 "/usr/include/poll.h" 2 3 4
1997# 32 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
1998# 1 "/usr/include/pthread.h" 1 3 4
1999# 57 "/usr/include/pthread.h" 3 4
2000# 1 "/usr/include/pthread_impl.h" 1 3 4
2001# 58 "/usr/include/pthread.h" 2 3 4
2002
2003# 1 "/usr/include/sched.h" 1 3 4
2004# 30 "/usr/include/sched.h" 3 4
2005extern "C" {
2006
2007
2008
2009
2010struct sched_param { int sched_priority; char __opaque[4]; };
2011
2012
2013extern int sched_yield(void);
2014extern int sched_get_priority_min(int);
2015extern int sched_get_priority_max(int);
2016}
2017# 60 "/usr/include/pthread.h" 2 3 4
2018# 116 "/usr/include/pthread.h" 3 4
2019typedef __darwin_mach_port_t mach_port_t;
2020
2021
2022
2023
2024typedef __darwin_sigset_t sigset_t;
2025# 148 "/usr/include/pthread.h" 3 4
2026extern "C" {
2027# 244 "/usr/include/pthread.h" 3 4
2028int pthread_atfork(void (*)(void), void (*)(void),
2029                      void (*)(void));
2030int pthread_attr_destroy(pthread_attr_t *);
2031int pthread_attr_getdetachstate(const pthread_attr_t *,
2032          int *);
2033int pthread_attr_getguardsize(const pthread_attr_t * ,
2034                                      size_t * );
2035int pthread_attr_getinheritsched(const pthread_attr_t * ,
2036           int * );
2037int pthread_attr_getschedparam(const pthread_attr_t * ,
2038                                     struct sched_param * );
2039int pthread_attr_getschedpolicy(const pthread_attr_t * ,
2040          int * );
2041int pthread_attr_getscope(const pthread_attr_t * , int * );
2042int pthread_attr_getstack(const pthread_attr_t * ,
2043                                      void ** , size_t * );
2044int pthread_attr_getstackaddr(const pthread_attr_t * ,
2045                                      void ** );
2046int pthread_attr_getstacksize(const pthread_attr_t * ,
2047                                      size_t * );
2048int pthread_attr_init(pthread_attr_t *);
2049int pthread_attr_setdetachstate(pthread_attr_t *,
2050          int );
2051int pthread_attr_setguardsize(pthread_attr_t *, size_t );
2052int pthread_attr_setinheritsched(pthread_attr_t *,
2053           int );
2054int pthread_attr_setschedparam(pthread_attr_t * ,
2055                                     const struct sched_param * );
2056int pthread_attr_setschedpolicy(pthread_attr_t *,
2057          int );
2058int pthread_attr_setscope(pthread_attr_t *, int);
2059int pthread_attr_setstack(pthread_attr_t *,
2060                                      void *, size_t );
2061int pthread_attr_setstackaddr(pthread_attr_t *,
2062                                      void *);
2063int pthread_attr_setstacksize(pthread_attr_t *, size_t );
2064int pthread_cancel(pthread_t ) __asm("_" "pthread_cancel" "$UNIX2003");
2065
2066int pthread_cond_broadcast(pthread_cond_t *);
2067int pthread_cond_destroy(pthread_cond_t *);
2068int pthread_cond_init(pthread_cond_t * ,
2069                            const pthread_condattr_t * ) __asm("_" "pthread_cond_init" "$UNIX2003");
2070int pthread_cond_signal(pthread_cond_t *);
2071int pthread_cond_timedwait(pthread_cond_t * ,
2072     pthread_mutex_t * ,
2073     const struct timespec * ) __asm("_" "pthread_cond_timedwait" "$UNIX2003") ;
2074int pthread_cond_wait(pthread_cond_t * ,
2075       pthread_mutex_t * ) __asm("_" "pthread_cond_wait" "$UNIX2003") ;
2076int pthread_condattr_destroy(pthread_condattr_t *);
2077int pthread_condattr_init(pthread_condattr_t *);
2078int pthread_condattr_getpshared(const pthread_condattr_t * ,
2079   int * );
2080int pthread_condattr_setpshared(pthread_condattr_t *,
2081   int );
2082int pthread_create(pthread_t * ,
2083                         const pthread_attr_t * ,
2084                         void *(*)(void *),
2085                         void * );
2086int pthread_detach(pthread_t );
2087int pthread_equal(pthread_t ,
2088   pthread_t );
2089void pthread_exit(void *) __attribute__((__noreturn__));
2090int pthread_getconcurrency(void);
2091int pthread_getschedparam(pthread_t , int * , struct sched_param * );
2092void *pthread_getspecific(pthread_key_t );
2093int pthread_join(pthread_t , void **) __asm("_" "pthread_join" "$UNIX2003") ;
2094int pthread_key_create(pthread_key_t *, void (*)(void *));
2095int pthread_key_delete(pthread_key_t );
2096int pthread_mutex_destroy(pthread_mutex_t *);
2097int pthread_mutex_getprioceiling(const pthread_mutex_t * , int * );
2098int pthread_mutex_init(pthread_mutex_t * , const pthread_mutexattr_t * );
2099int pthread_mutex_lock(pthread_mutex_t *);
2100int pthread_mutex_setprioceiling(pthread_mutex_t * , int, int * );
2101int pthread_mutex_trylock(pthread_mutex_t *);
2102int pthread_mutex_unlock(pthread_mutex_t *);
2103int pthread_mutexattr_destroy(pthread_mutexattr_t *) __asm("_" "pthread_mutexattr_destroy" "$UNIX2003");
2104int pthread_mutexattr_getprioceiling(const pthread_mutexattr_t * , int * );
2105int pthread_mutexattr_getprotocol(const pthread_mutexattr_t * , int * );
2106int pthread_mutexattr_getpshared(const pthread_mutexattr_t * , int * );
2107int pthread_mutexattr_gettype(const pthread_mutexattr_t * , int * );
2108int pthread_mutexattr_init(pthread_mutexattr_t *);
2109int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *, int);
2110int pthread_mutexattr_setprotocol(pthread_mutexattr_t *, int);
2111int pthread_mutexattr_setpshared(pthread_mutexattr_t *, int );
2112int pthread_mutexattr_settype(pthread_mutexattr_t *, int);
2113int pthread_once(pthread_once_t *, void (*)(void));
2114int pthread_rwlock_destroy(pthread_rwlock_t * ) __asm("_" "pthread_rwlock_destroy" "$UNIX2003");
2115int pthread_rwlock_init(pthread_rwlock_t * , const pthread_rwlockattr_t * ) __asm("_" "pthread_rwlock_init" "$UNIX2003");
2116int pthread_rwlock_rdlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_rdlock" "$UNIX2003");
2117int pthread_rwlock_tryrdlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_tryrdlock" "$UNIX2003");
2118int pthread_rwlock_trywrlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_trywrlock" "$UNIX2003");
2119int pthread_rwlock_wrlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_wrlock" "$UNIX2003");
2120int pthread_rwlock_unlock(pthread_rwlock_t *) __asm("_" "pthread_rwlock_unlock" "$UNIX2003");
2121int pthread_rwlockattr_destroy(pthread_rwlockattr_t *);
2122int pthread_rwlockattr_getpshared(const pthread_rwlockattr_t * ,
2123   int * );
2124int pthread_rwlockattr_init(pthread_rwlockattr_t *);
2125int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *,
2126   int );
2127pthread_t pthread_self(void);
2128
2129int pthread_setcancelstate(int , int *) __asm("_" "pthread_setcancelstate" "$UNIX2003");
2130int pthread_setcanceltype(int , int *) __asm("_" "pthread_setcanceltype" "$UNIX2003");
2131int pthread_setconcurrency(int);
2132int pthread_setschedparam(pthread_t ,
2133    int ,
2134                                const struct sched_param *);
2135int pthread_setspecific(pthread_key_t ,
2136         const void *);
2137void pthread_testcancel(void) __asm("_" "pthread_testcancel" "$UNIX2003");
2138
2139
2140
2141int pthread_is_threaded_np(void);
2142
2143
2144int pthread_main_np(void);
2145
2146
2147mach_port_t pthread_mach_thread_np(pthread_t);
2148size_t pthread_get_stacksize_np(pthread_t);
2149void * pthread_get_stackaddr_np(pthread_t);
2150
2151
2152int pthread_cond_signal_thread_np(pthread_cond_t *, pthread_t);
2153
2154
2155int pthread_cond_timedwait_relative_np(pthread_cond_t *,
2156     pthread_mutex_t *,
2157     const struct timespec *);
2158
2159
2160int pthread_create_suspended_np(pthread_t *,
2161                         const pthread_attr_t *,
2162                         void *(*)(void *),
2163                         void *);
2164int pthread_kill(pthread_t, int);
2165
2166pthread_t pthread_from_mach_thread_np(mach_port_t);
2167
2168int pthread_sigmask(int, const sigset_t *, sigset_t *) __asm("_" "pthread_sigmask" "$UNIX2003");
2169void pthread_yield_np(void);
2170
2171}
2172# 33 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
2173# 1 "/usr/include/pwd.h" 1 3 4
2174# 119 "/usr/include/pwd.h" 3 4
2175struct passwd {
2176 char *pw_name;
2177 char *pw_passwd;
2178 uid_t pw_uid;
2179 gid_t pw_gid;
2180 __darwin_time_t pw_change;
2181 char *pw_class;
2182 char *pw_gecos;
2183 char *pw_dir;
2184 char *pw_shell;
2185 __darwin_time_t pw_expire;
2186};
2187
2188
2189
2190extern "C" {
2191struct passwd *getpwuid(uid_t);
2192struct passwd *getpwnam(const char *);
2193int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **);
2194int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **);
2195struct passwd *getpwent(void);
2196
2197int setpassent(int);
2198char *user_from_uid(uid_t, int);
2199
2200void setpwent(void);
2201void endpwent(void);
2202}
2203# 34 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
2204# 1 "/usr/include/signal.h" 1 3 4
2205# 63 "/usr/include/signal.h" 3 4
2206# 1 "/usr/include/sys/signal.h" 1 3 4
2207# 81 "/usr/include/sys/signal.h" 3 4
2208# 1 "/usr/include/machine/signal.h" 1 3 4
2209# 34 "/usr/include/machine/signal.h" 3 4
2210# 1 "/usr/include/i386/signal.h" 1 3 4
2211# 39 "/usr/include/i386/signal.h" 3 4
2212typedef int sig_atomic_t;
2213# 55 "/usr/include/i386/signal.h" 3 4
2214# 1 "/usr/include/i386/_structs.h" 1 3 4
2215# 56 "/usr/include/i386/signal.h" 2 3 4
2216# 35 "/usr/include/machine/signal.h" 2 3 4
2217# 82 "/usr/include/sys/signal.h" 2 3 4
2218# 154 "/usr/include/sys/signal.h" 3 4
2219# 1 "/usr/include/sys/_structs.h" 1 3 4
2220# 57 "/usr/include/sys/_structs.h" 3 4
2221# 1 "/usr/include/machine/_structs.h" 1 3 4
2222# 31 "/usr/include/machine/_structs.h" 3 4
2223# 1 "/usr/include/i386/_structs.h" 1 3 4
2224# 38 "/usr/include/i386/_structs.h" 3 4
2225# 1 "/usr/include/mach/i386/_structs.h" 1 3 4
2226# 43 "/usr/include/mach/i386/_structs.h" 3 4
2227struct __darwin_i386_thread_state
2228{
2229    unsigned int __eax;
2230    unsigned int __ebx;
2231    unsigned int __ecx;
2232    unsigned int __edx;
2233    unsigned int __edi;
2234    unsigned int __esi;
2235    unsigned int __ebp;
2236    unsigned int __esp;
2237    unsigned int __ss;
2238    unsigned int __eflags;
2239    unsigned int __eip;
2240    unsigned int __cs;
2241    unsigned int __ds;
2242    unsigned int __es;
2243    unsigned int __fs;
2244    unsigned int __gs;
2245};
2246# 89 "/usr/include/mach/i386/_structs.h" 3 4
2247struct __darwin_fp_control
2248{
2249    unsigned short __invalid :1,
2250        __denorm :1,
2251    __zdiv :1,
2252    __ovrfl :1,
2253    __undfl :1,
2254    __precis :1,
2255      :2,
2256    __pc :2,
2257
2258
2259
2260
2261
2262    __rc :2,
2263
2264
2265
2266
2267
2268
2269             :1,
2270      :3;
2271};
2272typedef struct __darwin_fp_control __darwin_fp_control_t;
2273# 147 "/usr/include/mach/i386/_structs.h" 3 4
2274struct __darwin_fp_status
2275{
2276    unsigned short __invalid :1,
2277        __denorm :1,
2278    __zdiv :1,
2279    __ovrfl :1,
2280    __undfl :1,
2281    __precis :1,
2282    __stkflt :1,
2283    __errsumm :1,
2284    __c0 :1,
2285    __c1 :1,
2286    __c2 :1,
2287    __tos :3,
2288    __c3 :1,
2289    __busy :1;
2290};
2291typedef struct __darwin_fp_status __darwin_fp_status_t;
2292# 191 "/usr/include/mach/i386/_structs.h" 3 4
2293struct __darwin_mmst_reg
2294{
2295 char __mmst_reg[10];
2296 char __mmst_rsrv[6];
2297};
2298# 210 "/usr/include/mach/i386/_structs.h" 3 4
2299struct __darwin_xmm_reg
2300{
2301 char __xmm_reg[16];
2302};
2303# 232 "/usr/include/mach/i386/_structs.h" 3 4
2304struct __darwin_i386_float_state
2305{
2306 int __fpu_reserved[2];
2307 struct __darwin_fp_control __fpu_fcw;
2308 struct __darwin_fp_status __fpu_fsw;
2309 __uint8_t __fpu_ftw;
2310 __uint8_t __fpu_rsrv1;
2311 __uint16_t __fpu_fop;
2312 __uint32_t __fpu_ip;
2313 __uint16_t __fpu_cs;
2314 __uint16_t __fpu_rsrv2;
2315 __uint32_t __fpu_dp;
2316 __uint16_t __fpu_ds;
2317 __uint16_t __fpu_rsrv3;
2318 __uint32_t __fpu_mxcsr;
2319 __uint32_t __fpu_mxcsrmask;
2320 struct __darwin_mmst_reg __fpu_stmm0;
2321 struct __darwin_mmst_reg __fpu_stmm1;
2322 struct __darwin_mmst_reg __fpu_stmm2;
2323 struct __darwin_mmst_reg __fpu_stmm3;
2324 struct __darwin_mmst_reg __fpu_stmm4;
2325 struct __darwin_mmst_reg __fpu_stmm5;
2326 struct __darwin_mmst_reg __fpu_stmm6;
2327 struct __darwin_mmst_reg __fpu_stmm7;
2328 struct __darwin_xmm_reg __fpu_xmm0;
2329 struct __darwin_xmm_reg __fpu_xmm1;
2330 struct __darwin_xmm_reg __fpu_xmm2;
2331 struct __darwin_xmm_reg __fpu_xmm3;
2332 struct __darwin_xmm_reg __fpu_xmm4;
2333 struct __darwin_xmm_reg __fpu_xmm5;
2334 struct __darwin_xmm_reg __fpu_xmm6;
2335 struct __darwin_xmm_reg __fpu_xmm7;
2336 char __fpu_rsrv4[14*16];
2337 int __fpu_reserved1;
2338};
2339# 308 "/usr/include/mach/i386/_structs.h" 3 4
2340struct __darwin_i386_exception_state
2341{
2342    unsigned int __trapno;
2343    unsigned int __err;
2344    unsigned int __faultvaddr;
2345};
2346# 326 "/usr/include/mach/i386/_structs.h" 3 4
2347struct __darwin_x86_debug_state32
2348{
2349 unsigned int __dr0;
2350 unsigned int __dr1;
2351 unsigned int __dr2;
2352 unsigned int __dr3;
2353 unsigned int __dr4;
2354 unsigned int __dr5;
2355 unsigned int __dr6;
2356 unsigned int __dr7;
2357};
2358# 358 "/usr/include/mach/i386/_structs.h" 3 4
2359struct __darwin_x86_thread_state64
2360{
2361 __uint64_t __rax;
2362 __uint64_t __rbx;
2363 __uint64_t __rcx;
2364 __uint64_t __rdx;
2365 __uint64_t __rdi;
2366 __uint64_t __rsi;
2367 __uint64_t __rbp;
2368 __uint64_t __rsp;
2369 __uint64_t __r8;
2370 __uint64_t __r9;
2371 __uint64_t __r10;
2372 __uint64_t __r11;
2373 __uint64_t __r12;
2374 __uint64_t __r13;
2375 __uint64_t __r14;
2376 __uint64_t __r15;
2377 __uint64_t __rip;
2378 __uint64_t __rflags;
2379 __uint64_t __cs;
2380 __uint64_t __fs;
2381 __uint64_t __gs;
2382};
2383# 413 "/usr/include/mach/i386/_structs.h" 3 4
2384struct __darwin_x86_float_state64
2385{
2386 int __fpu_reserved[2];
2387 struct __darwin_fp_control __fpu_fcw;
2388 struct __darwin_fp_status __fpu_fsw;
2389 __uint8_t __fpu_ftw;
2390 __uint8_t __fpu_rsrv1;
2391 __uint16_t __fpu_fop;
2392
2393
2394 __uint32_t __fpu_ip;
2395 __uint16_t __fpu_cs;
2396
2397 __uint16_t __fpu_rsrv2;
2398
2399
2400 __uint32_t __fpu_dp;
2401 __uint16_t __fpu_ds;
2402
2403 __uint16_t __fpu_rsrv3;
2404 __uint32_t __fpu_mxcsr;
2405 __uint32_t __fpu_mxcsrmask;
2406 struct __darwin_mmst_reg __fpu_stmm0;
2407 struct __darwin_mmst_reg __fpu_stmm1;
2408 struct __darwin_mmst_reg __fpu_stmm2;
2409 struct __darwin_mmst_reg __fpu_stmm3;
2410 struct __darwin_mmst_reg __fpu_stmm4;
2411 struct __darwin_mmst_reg __fpu_stmm5;
2412 struct __darwin_mmst_reg __fpu_stmm6;
2413 struct __darwin_mmst_reg __fpu_stmm7;
2414 struct __darwin_xmm_reg __fpu_xmm0;
2415 struct __darwin_xmm_reg __fpu_xmm1;
2416 struct __darwin_xmm_reg __fpu_xmm2;
2417 struct __darwin_xmm_reg __fpu_xmm3;
2418 struct __darwin_xmm_reg __fpu_xmm4;
2419 struct __darwin_xmm_reg __fpu_xmm5;
2420 struct __darwin_xmm_reg __fpu_xmm6;
2421 struct __darwin_xmm_reg __fpu_xmm7;
2422 struct __darwin_xmm_reg __fpu_xmm8;
2423 struct __darwin_xmm_reg __fpu_xmm9;
2424 struct __darwin_xmm_reg __fpu_xmm10;
2425 struct __darwin_xmm_reg __fpu_xmm11;
2426 struct __darwin_xmm_reg __fpu_xmm12;
2427 struct __darwin_xmm_reg __fpu_xmm13;
2428 struct __darwin_xmm_reg __fpu_xmm14;
2429 struct __darwin_xmm_reg __fpu_xmm15;
2430 char __fpu_rsrv4[6*16];
2431 int __fpu_reserved1;
2432};
2433# 517 "/usr/include/mach/i386/_structs.h" 3 4
2434struct __darwin_x86_exception_state64
2435{
2436    unsigned int __trapno;
2437    unsigned int __err;
2438    __uint64_t __faultvaddr;
2439};
2440# 535 "/usr/include/mach/i386/_structs.h" 3 4
2441struct __darwin_x86_debug_state64
2442{
2443 __uint64_t __dr0;
2444 __uint64_t __dr1;
2445 __uint64_t __dr2;
2446 __uint64_t __dr3;
2447 __uint64_t __dr4;
2448 __uint64_t __dr5;
2449 __uint64_t __dr6;
2450 __uint64_t __dr7;
2451};
2452# 39 "/usr/include/i386/_structs.h" 2 3 4
2453# 48 "/usr/include/i386/_structs.h" 3 4
2454struct __darwin_mcontext32
2455{
2456 struct __darwin_i386_exception_state __es;
2457 struct __darwin_i386_thread_state __ss;
2458 struct __darwin_i386_float_state __fs;
2459};
2460# 68 "/usr/include/i386/_structs.h" 3 4
2461struct __darwin_mcontext64
2462{
2463 struct __darwin_x86_exception_state64 __es;
2464 struct __darwin_x86_thread_state64 __ss;
2465 struct __darwin_x86_float_state64 __fs;
2466};
2467# 94 "/usr/include/i386/_structs.h" 3 4
2468typedef struct __darwin_mcontext32 *mcontext_t;
2469# 32 "/usr/include/machine/_structs.h" 2 3 4
2470# 58 "/usr/include/sys/_structs.h" 2 3 4
2471# 75 "/usr/include/sys/_structs.h" 3 4
2472struct __darwin_sigaltstack
2473{
2474 void *ss_sp;
2475 __darwin_size_t ss_size;
2476 int ss_flags;
2477};
2478# 128 "/usr/include/sys/_structs.h" 3 4
2479struct __darwin_ucontext
2480{
2481 int uc_onstack;
2482 __darwin_sigset_t uc_sigmask;
2483 struct __darwin_sigaltstack uc_stack;
2484 struct __darwin_ucontext *uc_link;
2485 __darwin_size_t uc_mcsize;
2486 struct __darwin_mcontext32 *uc_mcontext;
2487
2488
2489
2490};
2491# 218 "/usr/include/sys/_structs.h" 3 4
2492typedef struct __darwin_sigaltstack stack_t;
2493# 227 "/usr/include/sys/_structs.h" 3 4
2494typedef struct __darwin_ucontext ucontext_t;
2495# 155 "/usr/include/sys/signal.h" 2 3 4
2496# 181 "/usr/include/sys/signal.h" 3 4
2497union sigval {
2498
2499 int sival_int;
2500 void *sival_ptr;
2501};
2502
2503
2504
2505
2506
2507struct sigevent {
2508 int sigev_notify;
2509 int sigev_signo;
2510 union sigval sigev_value;
2511 void (*sigev_notify_function)(union sigval);
2512 pthread_attr_t *sigev_notify_attributes;
2513};
2514
2515
2516typedef struct __siginfo {
2517 int si_signo;
2518 int si_errno;
2519 int si_code;
2520 pid_t si_pid;
2521 uid_t si_uid;
2522 int si_status;
2523 void *si_addr;
2524 union sigval si_value;
2525 long si_band;
2526 unsigned long __pad[7];
2527} siginfo_t;
2528# 292 "/usr/include/sys/signal.h" 3 4
2529union __sigaction_u {
2530 void (*__sa_handler)(int);
2531 void (*__sa_sigaction)(int, struct __siginfo *,
2532         void *);
2533};
2534
2535
2536struct __sigaction {
2537 union __sigaction_u __sigaction_u;
2538 void (*sa_tramp)(void *, int, int, siginfo_t *, void *);
2539 sigset_t sa_mask;
2540 int sa_flags;
2541};
2542
2543
2544
2545
2546struct sigaction {
2547 union __sigaction_u __sigaction_u;
2548 sigset_t sa_mask;
2549 int sa_flags;
2550};
2551# 354 "/usr/include/sys/signal.h" 3 4
2552typedef void (*sig_t)(int);
2553# 371 "/usr/include/sys/signal.h" 3 4
2554struct sigvec {
2555 void (*sv_handler)(int);
2556 int sv_mask;
2557 int sv_flags;
2558};
2559# 390 "/usr/include/sys/signal.h" 3 4
2560struct sigstack {
2561 char *ss_sp;
2562 int ss_onstack;
2563};
2564# 412 "/usr/include/sys/signal.h" 3 4
2565extern "C" {
2566void (*signal(int, void (*)(int)))(int);
2567}
2568# 64 "/usr/include/signal.h" 2 3 4
2569
2570
2571
2572
2573
2574
2575
2576extern const char *const sys_signame[32];
2577extern const char *const sys_siglist[32];
2578
2579
2580extern "C" {
2581int raise(int);
2582}
2583
2584
2585extern "C" {
2586void (*bsd_signal(int, void (*)(int)))(int);
2587int kill(pid_t, int) __asm("_" "kill" "$UNIX2003");
2588int killpg(pid_t, int) __asm("_" "killpg" "$UNIX2003");
2589int pthread_kill(pthread_t, int);
2590int pthread_sigmask(int, const sigset_t *, sigset_t *) __asm("_" "pthread_sigmask" "$UNIX2003");
2591int sigaction(int, const struct sigaction * ,
2592     struct sigaction * );
2593int sigaddset(sigset_t *, int);
2594int sigaltstack(const stack_t * , stack_t * ) __asm("_" "sigaltstack" "$UNIX2003");
2595int sigdelset(sigset_t *, int);
2596int sigemptyset(sigset_t *);
2597int sigfillset(sigset_t *);
2598int sighold(int);
2599int sigignore(int);
2600int siginterrupt(int, int);
2601int sigismember(const sigset_t *, int);
2602int sigpause(int) __asm("_" "sigpause" "$UNIX2003") ;
2603int sigpending(sigset_t *);
2604int sigprocmask(int, const sigset_t * , sigset_t * );
2605int sigrelse(int);
2606void (*sigset(int, void (*)(int)))(int);
2607int sigsuspend(const sigset_t *) __asm("_" "sigsuspend" "$UNIX2003") ;
2608int sigwait(const sigset_t * , int * ) __asm("_" "sigwait" "$UNIX2003") ;
2609
2610void psignal(unsigned int, const char *);
2611int sigblock(int);
2612int sigsetmask(int);
2613int sigvec(int, struct sigvec *, struct sigvec *);
2614
2615}
2616
2617
2618
2619
2620static inline int
2621__sigbits(int __signo)
2622{
2623    return __signo > 32 ? 0 : (1 << (__signo - 1));
2624}
2625# 35 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
2626# 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stddef.h" 1 3 4
2627# 34 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stddef.h" 3 4
2628typedef int ptrdiff_t;
2629# 36 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
2630# 1 "/usr/include/sys/resource.h" 1 3 4
2631# 76 "/usr/include/sys/resource.h" 3 4
2632# 1 "/usr/include/sys/_structs.h" 1 3 4
2633# 77 "/usr/include/sys/resource.h" 2 3 4
2634# 88 "/usr/include/sys/resource.h" 3 4
2635typedef __uint64_t rlim_t;
2636# 142 "/usr/include/sys/resource.h" 3 4
2637struct rusage {
2638 struct timeval ru_utime;
2639 struct timeval ru_stime;
2640# 153 "/usr/include/sys/resource.h" 3 4
2641 long ru_maxrss;
2642
2643 long ru_ixrss;
2644 long ru_idrss;
2645 long ru_isrss;
2646 long ru_minflt;
2647 long ru_majflt;
2648 long ru_nswap;
2649 long ru_inblock;
2650 long ru_oublock;
2651 long ru_msgsnd;
2652 long ru_msgrcv;
2653 long ru_nsignals;
2654 long ru_nvcsw;
2655 long ru_nivcsw;
2656
2657
2658};
2659# 213 "/usr/include/sys/resource.h" 3 4
2660struct rlimit {
2661 rlim_t rlim_cur;
2662 rlim_t rlim_max;
2663};
2664# 235 "/usr/include/sys/resource.h" 3 4
2665extern "C" {
2666int getpriority(int, id_t);
2667
2668int getiopolicy_np(int, int);
2669
2670int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" "$UNIX2003");
2671int getrusage(int, struct rusage *);
2672int setpriority(int, id_t, int);
2673
2674int setiopolicy_np(int, int, int);
2675
2676int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" "$UNIX2003");
2677}
2678# 37 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
2679
2680# 1 "/usr/include/sys/stat.h" 1 3 4
2681# 78 "/usr/include/sys/stat.h" 3 4
2682# 1 "/usr/include/sys/_structs.h" 1 3 4
2683# 79 "/usr/include/sys/stat.h" 2 3 4
2684# 152 "/usr/include/sys/stat.h" 3 4
2685struct ostat {
2686 __uint16_t st_dev;
2687 ino_t st_ino;
2688 mode_t st_mode;
2689 nlink_t st_nlink;
2690 __uint16_t st_uid;
2691 __uint16_t st_gid;
2692 __uint16_t st_rdev;
2693 __int32_t st_size;
2694 struct timespec st_atimespec;
2695 struct timespec st_mtimespec;
2696 struct timespec st_ctimespec;
2697 __int32_t st_blksize;
2698 __int32_t st_blocks;
2699 __uint32_t st_flags;
2700 __uint32_t st_gen;
2701};
2702# 228 "/usr/include/sys/stat.h" 3 4
2703struct stat {
2704 dev_t st_dev;
2705 ino_t st_ino;
2706 mode_t st_mode;
2707 nlink_t st_nlink;
2708 uid_t st_uid;
2709 gid_t st_gid;
2710 dev_t st_rdev;
2711
2712 struct timespec st_atimespec;
2713 struct timespec st_mtimespec;
2714 struct timespec st_ctimespec;
2715# 248 "/usr/include/sys/stat.h" 3 4
2716 off_t st_size;
2717 blkcnt_t st_blocks;
2718 blksize_t st_blksize;
2719 __uint32_t st_flags;
2720 __uint32_t st_gen;
2721 __int32_t st_lspare;
2722 __int64_t st_qspare[2];
2723};
2724
2725
2726
2727
2728
2729struct stat64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; };
2730# 422 "/usr/include/sys/stat.h" 3 4
2731extern "C" {
2732
2733int chmod(const char *, mode_t) __asm("_" "chmod" "$UNIX2003");
2734int fchmod(int, mode_t) __asm("_" "fchmod" "$UNIX2003");
2735int fstat(int, struct stat *) __asm("_" "fstat") ;
2736int lstat(const char *, struct stat *) __asm("_" "lstat") ;
2737int mkdir(const char *, mode_t);
2738int mkfifo(const char *, mode_t);
2739int stat(const char *, struct stat *) __asm("_" "stat") ;
2740int mknod(const char *, mode_t, dev_t);
2741mode_t umask(mode_t);
2742
2743
2744
2745struct _filesec;
2746typedef struct _filesec *filesec_t;
2747
2748
2749int chflags(const char *, __uint32_t);
2750int chmodx_np(const char *, filesec_t);
2751int fchflags(int, __uint32_t);
2752int fchmodx_np(int, filesec_t);
2753int fstatx_np(int, struct stat *, filesec_t) __asm("_" "fstatx_np") ;
2754int lchflags(const char *, __uint32_t);
2755int lchmod(const char *, mode_t);
2756int lstatx_np(const char *, struct stat *, filesec_t) __asm("_" "lstatx_np") ;
2757int mkdirx_np(const char *, filesec_t);
2758int mkfifox_np(const char *, filesec_t);
2759int statx_np(const char *, struct stat *, filesec_t) __asm("_" "statx_np") ;
2760int umaskx_np(filesec_t);
2761
2762int fstatx64_np(int, struct stat64 *, filesec_t);
2763int lstatx64_np(const char *, struct stat64 *, filesec_t);
2764int statx64_np(const char *, struct stat64 *, filesec_t);
2765int fstat64(int, struct stat64 *);
2766int lstat64(const char *, struct stat64 *);
2767int stat64(const char *, struct stat64 *);
2768
2769
2770}
2771# 39 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
2772
2773# 1 "/usr/include/sys/times.h" 1 3 4
2774# 85 "/usr/include/sys/times.h" 3 4
2775struct tms {
2776 clock_t tms_utime;
2777 clock_t tms_stime;
2778 clock_t tms_cutime;
2779 clock_t tms_cstime;
2780};
2781
2782extern "C" {
2783clock_t times(struct tms *);
2784}
2785# 41 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
2786
2787# 1 "/usr/include/sys/utsname.h" 1 3 4
2788# 74 "/usr/include/sys/utsname.h" 3 4
2789struct utsname {
2790 char sysname[256];
2791 char nodename[256];
2792 char release[256];
2793 char version[256];
2794 char machine[256];
2795};
2796
2797extern "C" {
2798int uname(struct utsname *);
2799}
2800# 43 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
2801# 1 "/usr/include/termios.h" 1 3 4
2802# 27 "/usr/include/termios.h" 3 4
2803# 1 "/usr/include/sys/termios.h" 1 3 4
2804# 265 "/usr/include/sys/termios.h" 3 4
2805typedef unsigned long tcflag_t;
2806typedef unsigned char cc_t;
2807typedef unsigned long speed_t;
2808
2809struct termios {
2810 tcflag_t c_iflag;
2811 tcflag_t c_oflag;
2812 tcflag_t c_cflag;
2813 tcflag_t c_lflag;
2814 cc_t c_cc[20];
2815 speed_t c_ispeed;
2816 speed_t c_ospeed;
2817};
2818# 332 "/usr/include/sys/termios.h" 3 4
2819extern "C" {
2820speed_t cfgetispeed(const struct termios *);
2821speed_t cfgetospeed(const struct termios *);
2822int cfsetispeed(struct termios *, speed_t);
2823int cfsetospeed(struct termios *, speed_t);
2824int tcgetattr(int, struct termios *);
2825int tcsetattr(int, int, const struct termios *);
2826int tcdrain(int) __asm("_" "tcdrain" "$UNIX2003") ;
2827int tcflow(int, int);
2828int tcflush(int, int);
2829int tcsendbreak(int, int);
2830
2831
2832void cfmakeraw(struct termios *);
2833int cfsetspeed(struct termios *, speed_t);
2834
2835}
2836# 358 "/usr/include/sys/termios.h" 3 4
2837# 1 "/usr/include/sys/ttycom.h" 1 3 4
2838# 72 "/usr/include/sys/ttycom.h" 3 4
2839# 1 "/usr/include/sys/ioccom.h" 1 3 4
2840# 73 "/usr/include/sys/ttycom.h" 2 3 4
2841# 83 "/usr/include/sys/ttycom.h" 3 4
2842struct winsize {
2843 unsigned short ws_row;
2844 unsigned short ws_col;
2845 unsigned short ws_xpixel;
2846 unsigned short ws_ypixel;
2847};
2848# 359 "/usr/include/sys/termios.h" 2 3 4
2849
2850
2851
2852
2853
2854
2855
2856
2857# 1 "/usr/include/sys/ttydefaults.h" 1 3 4
2858# 368 "/usr/include/sys/termios.h" 2 3 4
2859# 28 "/usr/include/termios.h" 2 3 4
2860
2861
2862
2863
2864
2865
2866
2867extern "C" {
2868pid_t tcgetsid(int);
2869}
2870# 44 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
2871
2872# 1 "/usr/include/wchar.h" 1 3 4
2873# 83 "/usr/include/wchar.h" 3 4
2874typedef __darwin_mbstate_t mbstate_t;
2875
2876
2877
2878
2879typedef __darwin_ct_rune_t ct_rune_t;
2880
2881
2882
2883
2884typedef __darwin_rune_t rune_t;
2885# 111 "/usr/include/wchar.h" 3 4
2886# 1 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdarg.h" 1 3 4
2887# 30 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdarg.h" 3 4
2888typedef __builtin_va_list va_list;
2889# 48 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/Release+Debug+Asserts/bin/../lib/clang/3.4/include/stdarg.h" 3 4
2890typedef __builtin_va_list __gnuc_va_list;
2891# 112 "/usr/include/wchar.h" 2 3 4
2892# 1 "/usr/include/stdio.h" 1 3 4
2893# 87 "/usr/include/stdio.h" 3 4
2894typedef __darwin_off_t fpos_t;
2895# 98 "/usr/include/stdio.h" 3 4
2896struct __sbuf {
2897 unsigned char *_base;
2898 int _size;
2899};
2900
2901
2902struct __sFILEX;
2903# 132 "/usr/include/stdio.h" 3 4
2904typedef struct __sFILE {
2905 unsigned char *_p;
2906 int _r;
2907 int _w;
2908 short _flags;
2909 short _file;
2910 struct __sbuf _bf;
2911 int _lbfsize;
2912
2913
2914 void *_cookie;
2915 int (*_close)(void *);
2916 int (*_read) (void *, char *, int);
2917 fpos_t (*_seek) (void *, fpos_t, int);
2918 int (*_write)(void *, const char *, int);
2919
2920
2921 struct __sbuf _ub;
2922 struct __sFILEX *_extra;
2923 int _ur;
2924
2925
2926 unsigned char _ubuf[3];
2927 unsigned char _nbuf[1];
2928
2929
2930 struct __sbuf _lb;
2931
2932
2933 int _blksize;
2934 fpos_t _offset;
2935} FILE;
2936
2937extern "C" {
2938
2939extern FILE *__stdinp;
2940extern FILE *__stdoutp;
2941extern FILE *__stderrp;
2942
2943
2944
2945}
2946# 248 "/usr/include/stdio.h" 3 4
2947extern "C" {
2948void clearerr(FILE *);
2949int fclose(FILE *);
2950int feof(FILE *);
2951int ferror(FILE *);
2952int fflush(FILE *);
2953int fgetc(FILE *);
2954int fgetpos(FILE * , fpos_t *);
2955char *fgets(char * , int, FILE *);
2956FILE *fopen(const char * , const char * );
2957int fprintf(FILE * , const char * , ...) ;
2958int fputc(int, FILE *);
2959int fputs(const char * , FILE * ) __asm("_" "fputs" "$UNIX2003");
2960size_t fread(void * , size_t, size_t, FILE * );
2961FILE *freopen(const char * , const char * ,
2962     FILE * ) __asm("_" "freopen" "$UNIX2003");
2963int fscanf(FILE * , const char * , ...) ;
2964int fseek(FILE *, long, int);
2965int fsetpos(FILE *, const fpos_t *);
2966long ftell(FILE *);
2967size_t fwrite(const void * , size_t, size_t, FILE * ) __asm("_" "fwrite" "$UNIX2003");
2968int getc(FILE *);
2969int getchar(void);
2970char *gets(char *);
2971
2972extern const int sys_nerr;
2973extern const char *const sys_errlist[];
2974
2975void perror(const char *);
2976int printf(const char * , ...) ;
2977int putc(int, FILE *);
2978int putchar(int);
2979int puts(const char *);
2980int remove(const char *);
2981int rename (const char *, const char *);
2982void rewind(FILE *);
2983int scanf(const char * , ...) ;
2984void setbuf(FILE * , char * );
2985int setvbuf(FILE * , char * , int, size_t);
2986int sprintf(char * , const char * , ...) ;
2987int sscanf(const char * , const char * , ...) ;
2988FILE *tmpfile(void);
2989char *tmpnam(char *);
2990int ungetc(int, FILE *);
2991int vfprintf(FILE * , const char * , va_list) ;
2992int vprintf(const char * , va_list) ;
2993int vsprintf(char * , const char * , va_list) ;
2994
2995int asprintf(char **, const char *, ...) ;
2996int vasprintf(char **, const char *, va_list) ;
2997
2998}
2999
3000
3001
3002
3003
3004
3005
3006extern "C" {
3007char *ctermid(char *);
3008
3009char *ctermid_r(char *);
3010
3011FILE *fdopen(int, const char *);
3012
3013char *fgetln(FILE *, size_t *);
3014
3015int fileno(FILE *);
3016void flockfile(FILE *);
3017
3018const char
3019 *fmtcheck(const char *, const char *);
3020int fpurge(FILE *);
3021
3022int fseeko(FILE *, off_t, int);
3023off_t ftello(FILE *);
3024int ftrylockfile(FILE *);
3025void funlockfile(FILE *);
3026int getc_unlocked(FILE *);
3027int getchar_unlocked(void);
3028
3029int getw(FILE *);
3030
3031int pclose(FILE *);
3032FILE *popen(const char *, const char *);
3033int putc_unlocked(int, FILE *);
3034int putchar_unlocked(int);
3035
3036int putw(int, FILE *);
3037void setbuffer(FILE *, char *, int);
3038int setlinebuf(FILE *);
3039
3040int snprintf(char * , size_t, const char * , ...) ;
3041char *tempnam(const char *, const char *) __asm("_" "tempnam" "$UNIX2003");
3042int vfscanf(FILE * , const char * , va_list) ;
3043int vscanf(const char * , va_list) ;
3044int vsnprintf(char * , size_t, const char * , va_list) ;
3045int vsscanf(const char * , const char * , va_list) ;
3046
3047FILE *zopen(const char *, const char *, int);
3048
3049}
3050
3051
3052
3053
3054
3055extern "C" {
3056FILE *funopen(const void *,
3057  int (*)(void *, char *, int),
3058  int (*)(void *, const char *, int),
3059  fpos_t (*)(void *, fpos_t, int),
3060  int (*)(void *));
3061}
3062# 371 "/usr/include/stdio.h" 3 4
3063extern "C" {
3064int __srget(FILE *);
3065int __svfscanf(FILE *, const char *, va_list) ;
3066int __swbuf(int, FILE *);
3067}
3068
3069
3070
3071
3072
3073
3074
3075static inline int __sputc(int _c, FILE *_p) {
3076 if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n'))
3077  return (*_p->_p++ = _c);
3078 else
3079  return (__swbuf(_c, _p));
3080}
3081# 113 "/usr/include/wchar.h" 2 3 4
3082
3083# 1 "/usr/include/_wctype.h" 1 3 4
3084# 47 "/usr/include/_wctype.h" 3 4
3085typedef __darwin_wint_t wint_t;
3086
3087
3088
3089
3090typedef __darwin_wctype_t wctype_t;
3091# 63 "/usr/include/_wctype.h" 3 4
3092# 1 "/usr/include/ctype.h" 1 3 4
3093# 69 "/usr/include/ctype.h" 3 4
3094# 1 "/usr/include/runetype.h" 1 3 4
3095# 81 "/usr/include/runetype.h" 3 4
3096typedef struct {
3097 __darwin_rune_t __min;
3098 __darwin_rune_t __max;
3099 __darwin_rune_t __map;
3100 __uint32_t *__types;
3101} _RuneEntry;
3102
3103typedef struct {
3104 int __nranges;
3105 _RuneEntry *__ranges;
3106} _RuneRange;
3107
3108typedef struct {
3109 char __name[14];
3110 __uint32_t __mask;
3111} _RuneCharClass;
3112
3113typedef struct {
3114 char __magic[8];
3115 char __encoding[32];
3116
3117 __darwin_rune_t (*__sgetrune)(const char *, __darwin_size_t, char const **);
3118 int (*__sputrune)(__darwin_rune_t, char *, __darwin_size_t, char **);
3119 __darwin_rune_t __invalid_rune;
3120
3121 __uint32_t __runetype[(1 <<8 )];
3122 __darwin_rune_t __maplower[(1 <<8 )];
3123 __darwin_rune_t __mapupper[(1 <<8 )];
3124
3125
3126
3127
3128
3129
3130 _RuneRange __runetype_ext;
3131 _RuneRange __maplower_ext;
3132 _RuneRange __mapupper_ext;
3133
3134 void *__variable;
3135 int __variable_len;
3136
3137
3138
3139
3140 int __ncharclasses;
3141 _RuneCharClass *__charclasses;
3142} _RuneLocale;
3143
3144
3145
3146extern "C" {
3147extern _RuneLocale _DefaultRuneLocale;
3148extern _RuneLocale *_CurrentRuneLocale;
3149}
3150# 70 "/usr/include/ctype.h" 2 3 4
3151# 145 "/usr/include/ctype.h" 3 4
3152extern "C" {
3153unsigned long ___runetype(__darwin_ct_rune_t);
3154__darwin_ct_rune_t ___tolower(__darwin_ct_rune_t);
3155__darwin_ct_rune_t ___toupper(__darwin_ct_rune_t);
3156}
3157
3158static inline int
3159isascii(int _c)
3160{
3161 return ((_c & ~0x7F) == 0);
3162}
3163# 164 "/usr/include/ctype.h" 3 4
3164extern "C" {
3165int __maskrune(__darwin_ct_rune_t, unsigned long);
3166}
3167
3168
3169static inline int
3170__istype(__darwin_ct_rune_t _c, unsigned long _f)
3171{
3172
3173
3174
3175 return (isascii(_c) ? !!(_DefaultRuneLocale.__runetype[_c] & _f)
3176  : !!__maskrune(_c, _f));
3177
3178}
3179
3180static inline __darwin_ct_rune_t
3181__isctype(__darwin_ct_rune_t _c, unsigned long _f)
3182{
3183
3184
3185
3186 return (_c < 0 || _c >= (1 <<8 )) ? 0 :
3187  !!(_DefaultRuneLocale.__runetype[_c] & _f);
3188
3189}
3190# 204 "/usr/include/ctype.h" 3 4
3191extern "C" {
3192__darwin_ct_rune_t __toupper(__darwin_ct_rune_t);
3193__darwin_ct_rune_t __tolower(__darwin_ct_rune_t);
3194}
3195
3196
3197static inline int
3198__wcwidth(__darwin_ct_rune_t _c)
3199{
3200 unsigned int _x;
3201
3202 if (_c == 0)
3203  return (0);
3204 _x = (unsigned int)__maskrune(_c, 0xe0000000L|0x00040000L);
3205 if ((_x & 0xe0000000L) != 0)
3206  return ((_x & 0xe0000000L) >> 30);
3207 return ((_x & 0x00040000L) != 0 ? 1 : -1);
3208}
3209
3210
3211
3212
3213
3214
3215static inline int
3216isalnum(int _c)
3217{
3218 return (__istype(_c, 0x00000100L|0x00000400L));
3219}
3220
3221static inline int
3222isalpha(int _c)
3223{
3224 return (__istype(_c, 0x00000100L));
3225}
3226
3227static inline int
3228isblank(int _c)
3229{
3230 return (__istype(_c, 0x00020000L));
3231}
3232
3233static inline int
3234iscntrl(int _c)
3235{
3236 return (__istype(_c, 0x00000200L));
3237}
3238
3239
3240static inline int
3241isdigit(int _c)
3242{
3243 return (__isctype(_c, 0x00000400L));
3244}
3245
3246static inline int
3247isgraph(int _c)
3248{
3249 return (__istype(_c, 0x00000800L));
3250}
3251
3252static inline int
3253islower(int _c)
3254{
3255 return (__istype(_c, 0x00001000L));
3256}
3257
3258static inline int
3259isprint(int _c)
3260{
3261 return (__istype(_c, 0x00040000L));
3262}
3263
3264static inline int
3265ispunct(int _c)
3266{
3267 return (__istype(_c, 0x00002000L));
3268}
3269
3270static inline int
3271isspace(int _c)
3272{
3273 return (__istype(_c, 0x00004000L));
3274}
3275
3276static inline int
3277isupper(int _c)
3278{
3279 return (__istype(_c, 0x00008000L));
3280}
3281
3282
3283static inline int
3284isxdigit(int _c)
3285{
3286 return (__isctype(_c, 0x00010000L));
3287}
3288
3289static inline int
3290toascii(int _c)
3291{
3292 return (_c & 0x7F);
3293}
3294
3295static inline int
3296tolower(int _c)
3297{
3298        return (__tolower(_c));
3299}
3300
3301static inline int
3302toupper(int _c)
3303{
3304        return (__toupper(_c));
3305}
3306
3307
3308static inline int
3309digittoint(int _c)
3310{
3311 return (__maskrune(_c, 0x0F));
3312}
3313
3314static inline int
3315ishexnumber(int _c)
3316{
3317 return (__istype(_c, 0x00010000L));
3318}
3319
3320static inline int
3321isideogram(int _c)
3322{
3323 return (__istype(_c, 0x00080000L));
3324}
3325
3326static inline int
3327isnumber(int _c)
3328{
3329 return (__istype(_c, 0x00000400L));
3330}
3331
3332static inline int
3333isphonogram(int _c)
3334{
3335 return (__istype(_c, 0x00200000L));
3336}
3337
3338static inline int
3339isrune(int _c)
3340{
3341 return (__istype(_c, 0xFFFFFFF0L));
3342}
3343
3344static inline int
3345isspecial(int _c)
3346{
3347 return (__istype(_c, 0x00100000L));
3348}
3349# 64 "/usr/include/_wctype.h" 2 3 4
3350
3351
3352
3353
3354
3355
3356
3357static inline int
3358iswalnum(wint_t _wc)
3359{
3360 return (__istype(_wc, 0x00000100L|0x00000400L));
3361}
3362
3363static inline int
3364iswalpha(wint_t _wc)
3365{
3366 return (__istype(_wc, 0x00000100L));
3367}
3368
3369static inline int
3370iswcntrl(wint_t _wc)
3371{
3372 return (__istype(_wc, 0x00000200L));
3373}
3374
3375static inline int
3376iswctype(wint_t _wc, wctype_t _charclass)
3377{
3378 return (__istype(_wc, _charclass));
3379}
3380
3381static inline int
3382iswdigit(wint_t _wc)
3383{
3384 return (__isctype(_wc, 0x00000400L));
3385}
3386
3387static inline int
3388iswgraph(wint_t _wc)
3389{
3390 return (__istype(_wc, 0x00000800L));
3391}
3392
3393static inline int
3394iswlower(wint_t _wc)
3395{
3396 return (__istype(_wc, 0x00001000L));
3397}
3398
3399static inline int
3400iswprint(wint_t _wc)
3401{
3402 return (__istype(_wc, 0x00040000L));
3403}
3404
3405static inline int
3406iswpunct(wint_t _wc)
3407{
3408 return (__istype(_wc, 0x00002000L));
3409}
3410
3411static inline int
3412iswspace(wint_t _wc)
3413{
3414 return (__istype(_wc, 0x00004000L));
3415}
3416
3417static inline int
3418iswupper(wint_t _wc)
3419{
3420 return (__istype(_wc, 0x00008000L));
3421}
3422
3423static inline int
3424iswxdigit(wint_t _wc)
3425{
3426 return (__isctype(_wc, 0x00010000L));
3427}
3428
3429static inline wint_t
3430towlower(wint_t _wc)
3431{
3432        return (__tolower(_wc));
3433}
3434
3435static inline wint_t
3436towupper(wint_t _wc)
3437{
3438        return (__toupper(_wc));
3439}
3440# 176 "/usr/include/_wctype.h" 3 4
3441extern "C" {
3442wctype_t
3443 wctype(const char *);
3444}
3445# 115 "/usr/include/wchar.h" 2 3 4
3446
3447extern "C" {
3448wint_t btowc(int);
3449wint_t fgetwc(FILE *);
3450wchar_t *fgetws(wchar_t * , int, FILE * );
3451wint_t fputwc(wchar_t, FILE *);
3452int fputws(const wchar_t * , FILE * );
3453int fwide(FILE *, int);
3454int fwprintf(FILE * , const wchar_t * , ...) ;
3455int fwscanf(FILE * , const wchar_t * , ...) ;
3456wint_t getwc(FILE *);
3457wint_t getwchar(void);
3458size_t mbrlen(const char * , size_t, mbstate_t * );
3459size_t mbrtowc(wchar_t * , const char * , size_t,
3460     mbstate_t * );
3461int mbsinit(const mbstate_t *);
3462size_t mbsrtowcs(wchar_t * , const char ** , size_t,
3463     mbstate_t * );
3464wint_t putwc(wchar_t, FILE *);
3465wint_t putwchar(wchar_t);
3466int swprintf(wchar_t * , size_t, const wchar_t * ,
3467     ...) ;
3468int swscanf(const wchar_t * , const wchar_t * , ...) ;
3469wint_t ungetwc(wint_t, FILE *);
3470int vfwprintf(FILE * , const wchar_t * ,
3471     __darwin_va_list) ;
3472int vswprintf(wchar_t * , size_t, const wchar_t * ,
3473     __darwin_va_list) ;
3474int vwprintf(const wchar_t * , __darwin_va_list) ;
3475size_t wcrtomb(char * , wchar_t, mbstate_t * );
3476wchar_t *wcscat(wchar_t * , const wchar_t * );
3477wchar_t *wcschr(const wchar_t *, wchar_t);
3478int wcscmp(const wchar_t *, const wchar_t *);
3479int wcscoll(const wchar_t *, const wchar_t *);
3480wchar_t *wcscpy(wchar_t * , const wchar_t * );
3481size_t wcscspn(const wchar_t *, const wchar_t *);
3482size_t wcsftime(wchar_t * , size_t, const wchar_t * ,
3483     const struct tm * ) __asm("_" "wcsftime" "$UNIX2003");
3484size_t wcslen(const wchar_t *);
3485wchar_t *wcsncat(wchar_t * , const wchar_t * , size_t);
3486int wcsncmp(const wchar_t *, const wchar_t *, size_t);
3487wchar_t *wcsncpy(wchar_t * , const wchar_t * , size_t);
3488wchar_t *wcspbrk(const wchar_t *, const wchar_t *);
3489wchar_t *wcsrchr(const wchar_t *, wchar_t);
3490size_t wcsrtombs(char * , const wchar_t ** , size_t,
3491     mbstate_t * );
3492size_t wcsspn(const wchar_t *, const wchar_t *);
3493wchar_t *wcsstr(const wchar_t * , const wchar_t * );
3494size_t wcsxfrm(wchar_t * , const wchar_t * , size_t);
3495int wctob(wint_t);
3496double wcstod(const wchar_t * , wchar_t ** );
3497wchar_t *wcstok(wchar_t * , const wchar_t * ,
3498     wchar_t ** );
3499long wcstol(const wchar_t * , wchar_t ** , int);
3500unsigned long
3501  wcstoul(const wchar_t * , wchar_t ** , int);
3502wchar_t *wmemchr(const wchar_t *, wchar_t, size_t);
3503int wmemcmp(const wchar_t *, const wchar_t *, size_t);
3504wchar_t *wmemcpy(wchar_t * , const wchar_t * , size_t);
3505wchar_t *wmemmove(wchar_t *, const wchar_t *, size_t);
3506wchar_t *wmemset(wchar_t *, wchar_t, size_t);
3507int wprintf(const wchar_t * , ...) ;
3508int wscanf(const wchar_t * , ...) ;
3509
3510
3511int vfwscanf(FILE * , const wchar_t * ,
3512     __darwin_va_list) ;
3513int vswscanf(const wchar_t * , const wchar_t * ,
3514     __darwin_va_list) ;
3515int vwscanf(const wchar_t * , __darwin_va_list) ;
3516float wcstof(const wchar_t * , wchar_t ** );
3517long double
3518 wcstold(const wchar_t * , wchar_t ** ) ;
3519
3520long long
3521 wcstoll(const wchar_t * , wchar_t ** , int);
3522unsigned long long
3523 wcstoull(const wchar_t * , wchar_t ** , int);
3524
3525int wcswidth(const wchar_t *, size_t);
3526int wcwidth(wchar_t);
3527
3528
3529
3530size_t mbsnrtowcs(wchar_t * , const char ** , size_t,
3531     size_t, mbstate_t * );
3532size_t wcslcat(wchar_t *, const wchar_t *, size_t);
3533size_t wcslcpy(wchar_t *, const wchar_t *, size_t);
3534size_t wcsnrtombs(char * , const wchar_t ** , size_t,
3535     size_t, mbstate_t * );
3536
3537
3538
3539
3540
3541
3542}
3543# 46 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
3544# 68 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
3545# 1 "/usr/include/sys/ucontext.h" 1 3 4
3546# 44 "/usr/include/sys/ucontext.h" 3 4
3547# 1 "/usr/include/sys/_structs.h" 1 3 4
3548# 57 "/usr/include/sys/_structs.h" 3 4
3549# 1 "/usr/include/machine/_structs.h" 1 3 4
3550# 31 "/usr/include/machine/_structs.h" 3 4
3551# 1 "/usr/include/i386/_structs.h" 1 3 4
3552# 32 "/usr/include/machine/_structs.h" 2 3 4
3553# 58 "/usr/include/sys/_structs.h" 2 3 4
3554# 45 "/usr/include/sys/ucontext.h" 2 3 4
3555# 69 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
3556# 1 "/usr/include/wordexp.h" 1 3 4
3557# 57 "/usr/include/wordexp.h" 3 4
3558typedef struct {
3559 size_t we_wordc;
3560 char **we_wordv;
3561 size_t we_offs;
3562} wordexp_t;
3563# 83 "/usr/include/wordexp.h" 3 4
3564extern "C" {
3565int wordexp(const char * , wordexp_t * , int);
3566void wordfree(wordexp_t *);
3567}
3568# 70 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
3569# 115 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
3570# 1 "/usr/include/net/ethernet.h" 1 3 4
3571# 77 "/usr/include/net/ethernet.h" 3 4
3572struct ether_header {
3573 u_char ether_dhost[6];
3574 u_char ether_shost[6];
3575 u_short ether_type;
3576};
3577
3578
3579
3580
3581struct ether_addr {
3582 u_char octet[6];
3583};
3584# 118 "/usr/include/net/ethernet.h" 3 4
3585extern "C" {
3586
3587int ether_hostton(const char *, struct ether_addr *);
3588int ether_line(const char *, struct ether_addr *, char *);
3589char *ether_ntoa(const struct ether_addr *);
3590struct ether_addr *ether_aton(const char *);
3591int ether_ntohost(char *, const struct ether_addr *);
3592}
3593# 116 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
3594# 1 "/usr/include/sys/filio.h" 1 3 4
3595# 117 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
3596# 1 "/usr/include/sys/mount.h" 1 3 4
3597# 76 "/usr/include/sys/mount.h" 3 4
3598# 1 "/usr/include/sys/attr.h" 1 3 4
3599# 42 "/usr/include/sys/attr.h" 3 4
3600# 1 "/usr/include/sys/ucred.h" 1 3 4
3601# 75 "/usr/include/sys/ucred.h" 3 4
3602# 1 "/usr/include/sys/param.h" 1 3 4
3603# 110 "/usr/include/sys/param.h" 3 4
3604# 1 "/usr/include/machine/param.h" 1 3 4
3605# 37 "/usr/include/machine/param.h" 3 4
3606# 1 "/usr/include/i386/param.h" 1 3 4
3607# 38 "/usr/include/machine/param.h" 2 3 4
3608# 111 "/usr/include/sys/param.h" 2 3 4
3609# 76 "/usr/include/sys/ucred.h" 2 3 4
3610# 1 "/usr/include/bsm/audit.h" 1 3 4
3611# 160 "/usr/include/bsm/audit.h" 3 4
3612extern "C" {
3613
3614typedef uid_t au_id_t;
3615typedef pid_t au_asid_t;
3616typedef u_int16_t au_event_t;
3617typedef u_int16_t au_emod_t;
3618typedef u_int32_t au_class_t;
3619
3620struct au_tid {
3621 dev_t port;
3622 u_int32_t machine;
3623};
3624typedef struct au_tid au_tid_t;
3625
3626struct au_tid_addr {
3627 dev_t at_port;
3628 u_int32_t at_type;
3629 u_int32_t at_addr[4];
3630};
3631typedef struct au_tid_addr au_tid_addr_t;
3632
3633struct au_mask {
3634 unsigned int am_success;
3635 unsigned int am_failure;
3636};
3637typedef struct au_mask au_mask_t;
3638
3639struct auditinfo {
3640 au_id_t ai_auid;
3641 au_mask_t ai_mask;
3642 au_tid_t ai_termid;
3643 au_asid_t ai_asid;
3644};
3645typedef struct auditinfo auditinfo_t;
3646
3647struct auditinfo_addr {
3648 au_id_t ai_auid;
3649 au_mask_t ai_mask;
3650 au_tid_addr_t ai_termid;
3651 au_asid_t ai_asid;
3652};
3653typedef struct auditinfo_addr auditinfo_addr_t;
3654
3655struct auditpinfo {
3656 pid_t ap_pid;
3657 au_id_t ap_auid;
3658 au_mask_t ap_mask;
3659 au_tid_t ap_termid;
3660 au_asid_t ap_asid;
3661};
3662typedef struct auditpinfo auditpinfo_t;
3663
3664struct auditpinfo_addr {
3665 pid_t ap_pid;
3666 au_id_t ap_auid;
3667 au_mask_t ap_mask;
3668 au_tid_addr_t ap_termid;
3669 au_asid_t ap_asid;
3670};
3671typedef struct auditpinfo_addr auditpinfo_addr_t;
3672
3673
3674
3675struct au_token {
3676 u_char *t_data;
3677 size_t len;
3678 struct { struct au_token *tqe_next; struct au_token **tqe_prev; } tokens;
3679};
3680typedef struct au_token token_t;
3681
3682struct au_record {
3683 char used;
3684 int desc;
3685 struct { struct au_token *tqh_first; struct au_token **tqh_last; } token_q;
3686 u_char *data;
3687 size_t len;
3688 struct { struct au_record *le_next; struct au_record **le_prev; } au_rec_q;
3689};
3690typedef struct au_record au_record_t;
3691
3692
3693
3694
3695struct au_qctrl {
3696 size_t aq_hiwater;
3697 size_t aq_lowater;
3698 size_t aq_bufsz;
3699 clock_t aq_delay;
3700 int aq_minfree;
3701};
3702typedef struct au_qctrl au_qctrl_t;
3703
3704
3705
3706
3707struct audit_stat {
3708 unsigned int as_version;
3709 unsigned int as_numevent;
3710 int as_generated;
3711 int as_nonattring;
3712 int as_kernel;
3713 int as_audit;
3714 int as_auditctl;
3715 int as_enqueu;
3716 int as_written;
3717 int as_wblocked;
3718 int as_rblocked;
3719 int as_dropped;
3720 int as_totalsize;
3721 unsigned int as_memused;
3722};
3723typedef struct audit_stat au_stat_t;
3724
3725
3726
3727
3728struct audit_fstat {
3729 u_quad_t af_filesz;
3730 u_quad_t af_currsz;
3731};
3732typedef struct audit_fstat au_fstat_t;
3733
3734
3735
3736
3737struct au_evclass_map {
3738 au_event_t ec_number;
3739 au_class_t ec_class;
3740};
3741typedef struct au_evclass_map au_evclass_map_t;
3742
3743
3744int audit (const void *, int);
3745int auditon (int, void *, int);
3746int auditctl (const char *);
3747int getauid (au_id_t *);
3748int setauid (const au_id_t *);
3749int getaudit (struct auditinfo *);
3750int setaudit (const struct auditinfo *);
3751int getaudit_addr (struct auditinfo_addr *, int);
3752int setaudit_addr (const struct auditinfo_addr *, int);
3753
3754}
3755# 77 "/usr/include/sys/ucred.h" 2 3 4
3756
3757struct label;
3758# 88 "/usr/include/sys/ucred.h" 3 4
3759struct ucred {
3760 struct { struct ucred *tqe_next; struct ucred **tqe_prev; } cr_link;
3761 u_long cr_ref;
3762
3763
3764
3765
3766
3767 uid_t cr_uid;
3768 uid_t cr_ruid;
3769 uid_t cr_svuid;
3770 short cr_ngroups;
3771 gid_t cr_groups[16];
3772 gid_t cr_rgid;
3773 gid_t cr_svgid;
3774 uid_t cr_gmuid;
3775 struct auditinfo cr_au;
3776 struct label *cr_label;
3777
3778 int cr_flags;
3779
3780
3781
3782
3783
3784};
3785
3786
3787typedef struct ucred *kauth_cred_t;
3788# 129 "/usr/include/sys/ucred.h" 3 4
3789struct xucred {
3790        u_int cr_version;
3791        uid_t cr_uid;
3792        short cr_ngroups;
3793        gid_t cr_groups[16];
3794};
3795# 43 "/usr/include/sys/attr.h" 2 3 4
3796# 57 "/usr/include/sys/attr.h" 3 4
3797typedef u_int32_t text_encoding_t;
3798
3799typedef u_int32_t fsobj_type_t;
3800
3801typedef u_int32_t fsobj_tag_t;
3802
3803typedef u_int32_t fsfile_type_t;
3804
3805typedef u_int32_t fsvolid_t;
3806
3807typedef struct fsobj_id {
3808 u_int32_t fid_objno;
3809 u_int32_t fid_generation;
3810} fsobj_id_t;
3811
3812typedef u_int32_t attrgroup_t;
3813
3814struct attrlist {
3815 u_short bitmapcount;
3816 u_int16_t reserved;
3817 attrgroup_t commonattr;
3818 attrgroup_t volattr;
3819 attrgroup_t dirattr;
3820 attrgroup_t fileattr;
3821 attrgroup_t forkattr;
3822};
3823
3824
3825typedef struct attribute_set {
3826 attrgroup_t commonattr;
3827 attrgroup_t volattr;
3828 attrgroup_t dirattr;
3829 attrgroup_t fileattr;
3830 attrgroup_t forkattr;
3831} attribute_set_t;
3832
3833typedef struct attrreference {
3834 int32_t attr_dataoffset;
3835 u_int32_t attr_length;
3836} attrreference_t;
3837
3838
3839
3840struct diskextent {
3841 u_int32_t startblock;
3842 u_int32_t blockcount;
3843};
3844
3845typedef struct diskextent extentrecord[8];
3846
3847typedef u_int32_t vol_capabilities_set_t[4];
3848
3849
3850
3851
3852
3853
3854typedef struct vol_capabilities_attr {
3855 vol_capabilities_set_t capabilities;
3856 vol_capabilities_set_t valid;
3857} vol_capabilities_attr_t;
3858# 294 "/usr/include/sys/attr.h" 3 4
3859typedef struct vol_attributes_attr {
3860 attribute_set_t validattr;
3861 attribute_set_t nativeattr;
3862} vol_attributes_attr_t;
3863# 407 "/usr/include/sys/attr.h" 3 4
3864struct fssearchblock {
3865 struct attrlist *returnattrs;
3866 void *returnbuffer;
3867 size_t returnbuffersize;
3868 u_long maxmatches;
3869 struct timeval timelimit;
3870 void *searchparams1;
3871 size_t sizeofsearchparams1;
3872 void *searchparams2;
3873 size_t sizeofsearchparams2;
3874 struct attrlist searchattrs;
3875};
3876
3877
3878
3879struct searchstate {
3880 u_char reserved[556];
3881};
3882# 77 "/usr/include/sys/mount.h" 2 3 4
3883
3884
3885
3886
3887
3888typedef struct fsid { int32_t val[2]; } fsid_t;
3889# 111 "/usr/include/sys/mount.h" 3 4
3890struct statfs64 { uint32_t f_bsize; int32_t f_iosize; uint64_t f_blocks; uint64_t f_bfree; uint64_t f_bavail; uint64_t f_files; uint64_t f_ffree; fsid_t f_fsid; uid_t f_owner; uint32_t f_type; uint32_t f_flags; uint32_t f_fssubtype; char f_fstypename[16]; char f_mntonname[1024]; char f_mntfromname[1024]; uint32_t f_reserved[8]; };
3891# 122 "/usr/include/sys/mount.h" 3 4
3892struct statfs {
3893 short f_otype;
3894 short f_oflags;
3895 long f_bsize;
3896 long f_iosize;
3897 long f_blocks;
3898 long f_bfree;
3899 long f_bavail;
3900 long f_files;
3901 long f_ffree;
3902 fsid_t f_fsid;
3903 uid_t f_owner;
3904 short f_reserved1;
3905 short f_type;
3906 long f_flags;
3907 long f_reserved2[2];
3908 char f_fstypename[15];
3909 char f_mntonname[90];
3910 char f_mntfromname[90];
3911
3912
3913
3914
3915 char f_reserved3;
3916 long f_reserved4[4];
3917
3918};
3919
3920
3921
3922#pragma pack(4)
3923
3924struct vfsstatfs {
3925 uint32_t f_bsize;
3926 size_t f_iosize;
3927 uint64_t f_blocks;
3928 uint64_t f_bfree;
3929 uint64_t f_bavail;
3930 uint64_t f_bused;
3931 uint64_t f_files;
3932 uint64_t f_ffree;
3933 fsid_t f_fsid;
3934 uid_t f_owner;
3935 uint64_t f_flags;
3936 char f_fstypename[16];
3937 char f_mntonname[1024];
3938 char f_mntfromname[1024];
3939 uint32_t f_fssubtype;
3940 void *f_reserved[2];
3941};
3942
3943#pragma pack()
3944# 272 "/usr/include/sys/mount.h" 3 4
3945struct mount;
3946typedef struct mount * mount_t;
3947struct vnode;
3948typedef struct vnode * vnode_t;
3949
3950struct vfsconf {
3951 struct vfsops *vfc_vfsops;
3952 char vfc_name[15];
3953 int vfc_typenum;
3954 int vfc_refcount;
3955 int vfc_flags;
3956 int (*vfc_mountroot)(mount_t, vnode_t);
3957 struct vfsconf *vfc_next;
3958};
3959
3960struct vfsidctl {
3961 int vc_vers;
3962 fsid_t vc_fsid;
3963 void *vc_ptr;
3964 size_t vc_len;
3965 u_int32_t vc_spare[12];
3966};
3967# 311 "/usr/include/sys/mount.h" 3 4
3968struct vfsquery {
3969 u_int32_t vq_flags;
3970 u_int32_t vq_spare[31];
3971};
3972# 344 "/usr/include/sys/mount.h" 3 4
3973struct fhandle {
3974 int fh_len;
3975 unsigned char fh_data[128];
3976};
3977typedef struct fhandle fhandle_t;
3978
3979
3980extern "C" {
3981int fhopen(const struct fhandle *, int);
3982int fstatfs(int, struct statfs *) __asm("_" "fstatfs") ;
3983int fstatfs64(int, struct statfs64 *);
3984int getfh(const char *, fhandle_t *);
3985int getfsstat(struct statfs *, int, int) __asm("_" "getfsstat") ;
3986int getfsstat64(struct statfs64 *, int, int);
3987int getmntinfo(struct statfs **, int) __asm("_" "getmntinfo") ;
3988int getmntinfo64(struct statfs64 **, int);
3989int mount(const char *, const char *, int, void *);
3990int statfs(const char *, struct statfs *) __asm("_" "statfs") ;
3991int statfs64(const char *, struct statfs64 *);
3992int unmount(const char *, int);
3993int getvfsbyname(const char *, struct vfsconf *);
3994}
3995# 118 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
3996# 1 "/usr/include/sys/sockio.h" 1 3 4
3997# 119 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc" 2
3998
3999
4000namespace __sanitizer {
4001  unsigned struct_utsname_sz = sizeof(struct utsname);
4002  unsigned struct_stat_sz = sizeof(struct stat);
4003
4004  unsigned struct_stat64_sz = sizeof(struct stat64);
4005
4006  unsigned struct_rusage_sz = sizeof(struct rusage);
4007  unsigned struct_tm_sz = sizeof(struct tm);
4008  unsigned struct_passwd_sz = sizeof(struct passwd);
4009  unsigned struct_group_sz = sizeof(struct group);
4010  unsigned siginfo_t_sz = sizeof(siginfo_t);
4011  unsigned struct_sigaction_sz = sizeof(struct sigaction);
4012  unsigned struct_itimerval_sz = sizeof(struct itimerval);
4013  unsigned pthread_t_sz = sizeof(pthread_t);
4014  unsigned pthread_cond_t_sz = sizeof(pthread_cond_t);
4015  unsigned pid_t_sz = sizeof(pid_t);
4016  unsigned timeval_sz = sizeof(timeval);
4017  unsigned uid_t_sz = sizeof(uid_t);
4018  unsigned mbstate_t_sz = sizeof(mbstate_t);
4019  unsigned sigset_t_sz = sizeof(sigset_t);
4020  unsigned struct_timezone_sz = sizeof(struct timezone);
4021  unsigned struct_tms_sz = sizeof(struct tms);
4022  unsigned struct_sigevent_sz = sizeof(struct sigevent);
4023  unsigned struct_sched_param_sz = sizeof(struct sched_param);
4024  unsigned struct_statfs_sz = sizeof(struct statfs);
4025
4026
4027  unsigned struct_statfs64_sz = sizeof(struct statfs64);
4028
4029
4030
4031  unsigned ucontext_t_sz = sizeof(ucontext_t);
4032# 180 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
4033  uptr sig_ign = (uptr)(void (*)(int))1;
4034  uptr sig_dfl = (uptr)(void (*)(int))0;
4035  uptr sa_siginfo = (uptr)0x0040;
4036# 198 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
4037  int af_inet = (int)2;
4038  int af_inet6 = (int)30;
4039
4040  uptr __sanitizer_in_addr_sz(int af) {
4041    if (af == 2)
4042      return sizeof(struct in_addr);
4043    else if (af == 30)
4044      return sizeof(struct in6_addr);
4045    else
4046      return 0;
4047  }
4048# 245 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
4049  unsigned path_max = 1024;
4050
4051
4052  unsigned struct_arpreq_sz = sizeof(struct arpreq);
4053  unsigned struct_ifreq_sz = sizeof(struct ifreq);
4054  unsigned struct_termios_sz = sizeof(struct termios);
4055  unsigned struct_winsize_sz = sizeof(struct winsize);
4056# 331 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
4057  unsigned IOCTL_NOT_PRESENT = 0;
4058
4059  unsigned IOCTL_FIOASYNC = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('f')) << 8) | ((125)));
4060  unsigned IOCTL_FIOCLEX = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('f')) << 8) | ((1)));
4061  unsigned IOCTL_FIOGETOWN = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('f')) << 8) | ((123)));
4062  unsigned IOCTL_FIONBIO = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('f')) << 8) | ((126)));
4063  unsigned IOCTL_FIONCLEX = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('f')) << 8) | ((2)));
4064  unsigned IOCTL_FIOSETOWN = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('f')) << 8) | ((124)));
4065  unsigned IOCTL_SIOCADDMULTI = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((49)));
4066  unsigned IOCTL_SIOCATMARK = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('s')) << 8) | ((7)));
4067  unsigned IOCTL_SIOCDELMULTI = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((50)));
4068  unsigned IOCTL_SIOCGIFADDR = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((33)));
4069  unsigned IOCTL_SIOCGIFBRDADDR = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((35)));
4070  unsigned IOCTL_SIOCGIFCONF = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifconf) & 0x1fff) << 16) | ((('i')) << 8) | ((36)));
4071  unsigned IOCTL_SIOCGIFDSTADDR = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((34)));
4072  unsigned IOCTL_SIOCGIFFLAGS = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((17)));
4073  unsigned IOCTL_SIOCGIFMETRIC = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((23)));
4074  unsigned IOCTL_SIOCGIFMTU = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((51)));
4075  unsigned IOCTL_SIOCGIFNETMASK = (((unsigned long)0x80000000|(unsigned long)0x40000000) | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((37)));
4076  unsigned IOCTL_SIOCGPGRP = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('s')) << 8) | ((9)));
4077  unsigned IOCTL_SIOCSIFADDR = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((12)));
4078  unsigned IOCTL_SIOCSIFBRDADDR = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((19)));
4079  unsigned IOCTL_SIOCSIFDSTADDR = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((14)));
4080  unsigned IOCTL_SIOCSIFFLAGS = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((16)));
4081  unsigned IOCTL_SIOCSIFMETRIC = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((24)));
4082  unsigned IOCTL_SIOCSIFMTU = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((52)));
4083  unsigned IOCTL_SIOCSIFNETMASK = ((unsigned long)0x80000000 | ((sizeof(struct ifreq) & 0x1fff) << 16) | ((('i')) << 8) | ((22)));
4084  unsigned IOCTL_SIOCSPGRP = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('s')) << 8) | ((8)));
4085  unsigned IOCTL_TIOCCONS = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((98)));
4086  unsigned IOCTL_TIOCEXCL = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('t')) << 8) | ((13)));
4087  unsigned IOCTL_TIOCGETD = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((26)));
4088  unsigned IOCTL_TIOCGPGRP = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((119)));
4089  unsigned IOCTL_TIOCGWINSZ = ((unsigned long)0x40000000 | ((sizeof(struct winsize) & 0x1fff) << 16) | ((('t')) << 8) | ((104)));
4090  unsigned IOCTL_TIOCMBIC = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((107)));
4091  unsigned IOCTL_TIOCMBIS = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((108)));
4092  unsigned IOCTL_TIOCMGET = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((106)));
4093  unsigned IOCTL_TIOCMSET = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((109)));
4094  unsigned IOCTL_TIOCNOTTY = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('t')) << 8) | ((113)));
4095  unsigned IOCTL_TIOCNXCL = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('t')) << 8) | ((14)));
4096  unsigned IOCTL_TIOCOUTQ = ((unsigned long)0x40000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((115)));
4097  unsigned IOCTL_TIOCPKT = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((112)));
4098  unsigned IOCTL_TIOCSCTTY = ((unsigned long)0x20000000 | ((0 & 0x1fff) << 16) | ((('t')) << 8) | ((97)));
4099  unsigned IOCTL_TIOCSETD = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((27)));
4100  unsigned IOCTL_TIOCSPGRP = ((unsigned long)0x80000000 | ((sizeof(int) & 0x1fff) << 16) | ((('t')) << 8) | ((118)));
4101  unsigned IOCTL_TIOCSTI = ((unsigned long)0x80000000 | ((sizeof(char) & 0x1fff) << 16) | ((('t')) << 8) | ((114)));
4102  unsigned IOCTL_TIOCSWINSZ = ((unsigned long)0x80000000 | ((sizeof(struct winsize) & 0x1fff) << 16) | ((('t')) << 8) | ((103)));
4103# 769 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
4104  extern const int errno_EOWNERDEAD = -1;
4105
4106}
4107
4108typedef char assertion_failed__773[2*(int)(sizeof(__sanitizer_pthread_attr_t) >= sizeof(pthread_attr_t))-1];
4109
4110typedef char assertion_failed__775[2*(int)(sizeof(socklen_t) == sizeof(unsigned))-1];
4111typedef char assertion_failed__776[2*(int)(sizeof(__sanitizer_pthread_key_t) == sizeof(pthread_key_t))-1];
4112# 803 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
4113typedef char assertion_failed__803[2*(int)(sizeof(__sanitizer_addrinfo) == sizeof(addrinfo))-1];
4114typedef char assertion_failed__804[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_flags) == sizeof(((addrinfo *) __null)->ai_flags))-1]; typedef char assertion_failed__804[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_flags) == __builtin_offsetof(addrinfo, ai_flags))-1];
4115typedef char assertion_failed__805[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_family) == sizeof(((addrinfo *) __null)->ai_family))-1]; typedef char assertion_failed__805[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_family) == __builtin_offsetof(addrinfo, ai_family))-1];
4116typedef char assertion_failed__806[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_socktype) == sizeof(((addrinfo *) __null)->ai_socktype))-1]; typedef char assertion_failed__806[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_socktype) == __builtin_offsetof(addrinfo, ai_socktype))-1];
4117typedef char assertion_failed__807[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_protocol) == sizeof(((addrinfo *) __null)->ai_protocol))-1]; typedef char assertion_failed__807[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_protocol) == __builtin_offsetof(addrinfo, ai_protocol))-1];
4118typedef char assertion_failed__808[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_protocol) == sizeof(((addrinfo *) __null)->ai_protocol))-1]; typedef char assertion_failed__808[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_protocol) == __builtin_offsetof(addrinfo, ai_protocol))-1];
4119typedef char assertion_failed__809[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_addrlen) == sizeof(((addrinfo *) __null)->ai_addrlen))-1]; typedef char assertion_failed__809[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_addrlen) == __builtin_offsetof(addrinfo, ai_addrlen))-1];
4120typedef char assertion_failed__810[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_canonname) == sizeof(((addrinfo *) __null)->ai_canonname))-1]; typedef char assertion_failed__810[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_canonname) == __builtin_offsetof(addrinfo, ai_canonname))-1];
4121typedef char assertion_failed__811[2*(int)(sizeof(((__sanitizer_addrinfo *) __null)->ai_addr) == sizeof(((addrinfo *) __null)->ai_addr))-1]; typedef char assertion_failed__811[2*(int)(__builtin_offsetof(__sanitizer_addrinfo, ai_addr) == __builtin_offsetof(addrinfo, ai_addr))-1];
4122
4123typedef char assertion_failed__813[2*(int)(sizeof(__sanitizer_hostent) == sizeof(hostent))-1];
4124typedef char assertion_failed__814[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_name) == sizeof(((hostent *) __null)->h_name))-1]; typedef char assertion_failed__814[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_name) == __builtin_offsetof(hostent, h_name))-1];
4125typedef char assertion_failed__815[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_aliases) == sizeof(((hostent *) __null)->h_aliases))-1]; typedef char assertion_failed__815[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_aliases) == __builtin_offsetof(hostent, h_aliases))-1];
4126typedef char assertion_failed__816[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_addrtype) == sizeof(((hostent *) __null)->h_addrtype))-1]; typedef char assertion_failed__816[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_addrtype) == __builtin_offsetof(hostent, h_addrtype))-1];
4127typedef char assertion_failed__817[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_length) == sizeof(((hostent *) __null)->h_length))-1]; typedef char assertion_failed__817[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_length) == __builtin_offsetof(hostent, h_length))-1];
4128typedef char assertion_failed__818[2*(int)(sizeof(((__sanitizer_hostent *) __null)->h_addr_list) == sizeof(((hostent *) __null)->h_addr_list))-1]; typedef char assertion_failed__818[2*(int)(__builtin_offsetof(__sanitizer_hostent, h_addr_list) == __builtin_offsetof(hostent, h_addr_list))-1];
4129
4130typedef char assertion_failed__820[2*(int)(sizeof(__sanitizer_iovec) == sizeof(iovec))-1];
4131typedef char assertion_failed__821[2*(int)(sizeof(((__sanitizer_iovec *) __null)->iov_base) == sizeof(((iovec *) __null)->iov_base))-1]; typedef char assertion_failed__821[2*(int)(__builtin_offsetof(__sanitizer_iovec, iov_base) == __builtin_offsetof(iovec, iov_base))-1];
4132typedef char assertion_failed__822[2*(int)(sizeof(((__sanitizer_iovec *) __null)->iov_len) == sizeof(((iovec *) __null)->iov_len))-1]; typedef char assertion_failed__822[2*(int)(__builtin_offsetof(__sanitizer_iovec, iov_len) == __builtin_offsetof(iovec, iov_len))-1];
4133
4134typedef char assertion_failed__824[2*(int)(sizeof(__sanitizer_msghdr) == sizeof(msghdr))-1];
4135typedef char assertion_failed__825[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_name) == sizeof(((msghdr *) __null)->msg_name))-1]; typedef char assertion_failed__825[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_name) == __builtin_offsetof(msghdr, msg_name))-1];
4136typedef char assertion_failed__826[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_namelen) == sizeof(((msghdr *) __null)->msg_namelen))-1]; typedef char assertion_failed__826[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_namelen) == __builtin_offsetof(msghdr, msg_namelen))-1];
4137typedef char assertion_failed__827[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_iov) == sizeof(((msghdr *) __null)->msg_iov))-1]; typedef char assertion_failed__827[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_iov) == __builtin_offsetof(msghdr, msg_iov))-1];
4138typedef char assertion_failed__828[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_iovlen) == sizeof(((msghdr *) __null)->msg_iovlen))-1]; typedef char assertion_failed__828[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_iovlen) == __builtin_offsetof(msghdr, msg_iovlen))-1];
4139typedef char assertion_failed__829[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_control) == sizeof(((msghdr *) __null)->msg_control))-1]; typedef char assertion_failed__829[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_control) == __builtin_offsetof(msghdr, msg_control))-1];
4140typedef char assertion_failed__830[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_controllen) == sizeof(((msghdr *) __null)->msg_controllen))-1]; typedef char assertion_failed__830[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_controllen) == __builtin_offsetof(msghdr, msg_controllen))-1];
4141typedef char assertion_failed__831[2*(int)(sizeof(((__sanitizer_msghdr *) __null)->msg_flags) == sizeof(((msghdr *) __null)->msg_flags))-1]; typedef char assertion_failed__831[2*(int)(__builtin_offsetof(__sanitizer_msghdr, msg_flags) == __builtin_offsetof(msghdr, msg_flags))-1];
4142
4143typedef char assertion_failed__833[2*(int)(sizeof(__sanitizer_cmsghdr) == sizeof(cmsghdr))-1];
4144typedef char assertion_failed__834[2*(int)(sizeof(((__sanitizer_cmsghdr *) __null)->cmsg_len) == sizeof(((cmsghdr *) __null)->cmsg_len))-1]; typedef char assertion_failed__834[2*(int)(__builtin_offsetof(__sanitizer_cmsghdr, cmsg_len) == __builtin_offsetof(cmsghdr, cmsg_len))-1];
4145typedef char assertion_failed__835[2*(int)(sizeof(((__sanitizer_cmsghdr *) __null)->cmsg_level) == sizeof(((cmsghdr *) __null)->cmsg_level))-1]; typedef char assertion_failed__835[2*(int)(__builtin_offsetof(__sanitizer_cmsghdr, cmsg_level) == __builtin_offsetof(cmsghdr, cmsg_level))-1];
4146typedef char assertion_failed__836[2*(int)(sizeof(((__sanitizer_cmsghdr *) __null)->cmsg_type) == sizeof(((cmsghdr *) __null)->cmsg_type))-1]; typedef char assertion_failed__836[2*(int)(__builtin_offsetof(__sanitizer_cmsghdr, cmsg_type) == __builtin_offsetof(cmsghdr, cmsg_type))-1];
4147
4148typedef char assertion_failed__838[2*(int)(sizeof(__sanitizer_dirent) <= sizeof(dirent))-1];
4149typedef char assertion_failed__839[2*(int)(sizeof(((__sanitizer_dirent *) __null)->d_ino) == sizeof(((dirent *) __null)->d_ino))-1]; typedef char assertion_failed__839[2*(int)(__builtin_offsetof(__sanitizer_dirent, d_ino) == __builtin_offsetof(dirent, d_ino))-1];
4150
4151typedef char assertion_failed__841[2*(int)(sizeof(((__sanitizer_dirent *) __null)->d_seekoff) == sizeof(((dirent *) __null)->d_seekoff))-1]; typedef char assertion_failed__841[2*(int)(__builtin_offsetof(__sanitizer_dirent, d_seekoff) == __builtin_offsetof(dirent, d_seekoff))-1];
4152
4153
4154
4155typedef char assertion_failed__845[2*(int)(sizeof(((__sanitizer_dirent *) __null)->d_reclen) == sizeof(((dirent *) __null)->d_reclen))-1]; typedef char assertion_failed__845[2*(int)(__builtin_offsetof(__sanitizer_dirent, d_reclen) == __builtin_offsetof(dirent, d_reclen))-1];
4156# 854 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
4157typedef char assertion_failed__854[2*(int)(sizeof(__sanitizer_ifconf) == sizeof(ifconf))-1];
4158typedef char assertion_failed__855[2*(int)(sizeof(((__sanitizer_ifconf *) __null)->ifc_len) == sizeof(((ifconf *) __null)->ifc_len))-1]; typedef char assertion_failed__855[2*(int)(__builtin_offsetof(__sanitizer_ifconf, ifc_len) == __builtin_offsetof(ifconf, ifc_len))-1];
4159typedef char assertion_failed__856[2*(int)(sizeof(((__sanitizer_ifconf *) __null)->ifc_ifcu) == sizeof(((ifconf *) __null)->ifc_ifcu))-1]; typedef char assertion_failed__856[2*(int)(__builtin_offsetof(__sanitizer_ifconf, ifc_ifcu) == __builtin_offsetof(ifconf, ifc_ifcu))-1];
4160
4161typedef char assertion_failed__858[2*(int)(sizeof(__sanitizer_pollfd) == sizeof(pollfd))-1];
4162typedef char assertion_failed__859[2*(int)(sizeof(((__sanitizer_pollfd *) __null)->fd) == sizeof(((pollfd *) __null)->fd))-1]; typedef char assertion_failed__859[2*(int)(__builtin_offsetof(__sanitizer_pollfd, fd) == __builtin_offsetof(pollfd, fd))-1];
4163typedef char assertion_failed__860[2*(int)(sizeof(((__sanitizer_pollfd *) __null)->events) == sizeof(((pollfd *) __null)->events))-1]; typedef char assertion_failed__860[2*(int)(__builtin_offsetof(__sanitizer_pollfd, events) == __builtin_offsetof(pollfd, events))-1];
4164typedef char assertion_failed__861[2*(int)(sizeof(((__sanitizer_pollfd *) __null)->revents) == sizeof(((pollfd *) __null)->revents))-1]; typedef char assertion_failed__861[2*(int)(__builtin_offsetof(__sanitizer_pollfd, revents) == __builtin_offsetof(pollfd, revents))-1];
4165
4166typedef char assertion_failed__863[2*(int)(sizeof(__sanitizer_nfds_t) == sizeof(nfds_t))-1];
4167
4168typedef char assertion_failed__865[2*(int)(sizeof(__sanitizer_sigset_t) == sizeof(sigset_t))-1];
4169
4170typedef char assertion_failed__867[2*(int)(sizeof(__sanitizer_sigaction) == sizeof(struct sigaction))-1];
4171
4172
4173typedef char assertion_failed__870[2*(int)(sizeof(((struct __sanitizer_sigaction *) __null)->sa_mask) == sizeof(((struct sigaction *) __null)->sa_mask))-1]; typedef char assertion_failed__870[2*(int)(__builtin_offsetof(struct __sanitizer_sigaction, sa_mask) == __builtin_offsetof(struct sigaction, sa_mask))-1];
4174typedef char assertion_failed__871[2*(int)(sizeof(((struct __sanitizer_sigaction *) __null)->sa_flags) == sizeof(((struct sigaction *) __null)->sa_flags))-1]; typedef char assertion_failed__871[2*(int)(__builtin_offsetof(struct __sanitizer_sigaction, sa_flags) == __builtin_offsetof(struct sigaction, sa_flags))-1];
4175# 895 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
4176typedef char assertion_failed__895[2*(int)(sizeof(__sanitizer_wordexp_t) == sizeof(wordexp_t))-1];
4177typedef char assertion_failed__896[2*(int)(sizeof(((__sanitizer_wordexp_t *) __null)->we_wordc) == sizeof(((wordexp_t *) __null)->we_wordc))-1]; typedef char assertion_failed__896[2*(int)(__builtin_offsetof(__sanitizer_wordexp_t, we_wordc) == __builtin_offsetof(wordexp_t, we_wordc))-1];
4178typedef char assertion_failed__897[2*(int)(sizeof(((__sanitizer_wordexp_t *) __null)->we_wordv) == sizeof(((wordexp_t *) __null)->we_wordv))-1]; typedef char assertion_failed__897[2*(int)(__builtin_offsetof(__sanitizer_wordexp_t, we_wordv) == __builtin_offsetof(wordexp_t, we_wordv))-1];
4179typedef char assertion_failed__898[2*(int)(sizeof(((__sanitizer_wordexp_t *) __null)->we_offs) == sizeof(((wordexp_t *) __null)->we_offs))-1]; typedef char assertion_failed__898[2*(int)(__builtin_offsetof(__sanitizer_wordexp_t, we_offs) == __builtin_offsetof(wordexp_t, we_offs))-1];
4180
4181
4182typedef char assertion_failed__901[2*(int)(sizeof(__sanitizer_tm) == sizeof(tm))-1];
4183typedef char assertion_failed__902[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_sec) == sizeof(((tm *) __null)->tm_sec))-1]; typedef char assertion_failed__902[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_sec) == __builtin_offsetof(tm, tm_sec))-1];
4184typedef char assertion_failed__903[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_min) == sizeof(((tm *) __null)->tm_min))-1]; typedef char assertion_failed__903[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_min) == __builtin_offsetof(tm, tm_min))-1];
4185typedef char assertion_failed__904[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_hour) == sizeof(((tm *) __null)->tm_hour))-1]; typedef char assertion_failed__904[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_hour) == __builtin_offsetof(tm, tm_hour))-1];
4186typedef char assertion_failed__905[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_mday) == sizeof(((tm *) __null)->tm_mday))-1]; typedef char assertion_failed__905[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_mday) == __builtin_offsetof(tm, tm_mday))-1];
4187typedef char assertion_failed__906[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_mon) == sizeof(((tm *) __null)->tm_mon))-1]; typedef char assertion_failed__906[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_mon) == __builtin_offsetof(tm, tm_mon))-1];
4188typedef char assertion_failed__907[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_year) == sizeof(((tm *) __null)->tm_year))-1]; typedef char assertion_failed__907[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_year) == __builtin_offsetof(tm, tm_year))-1];
4189typedef char assertion_failed__908[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_wday) == sizeof(((tm *) __null)->tm_wday))-1]; typedef char assertion_failed__908[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_wday) == __builtin_offsetof(tm, tm_wday))-1];
4190typedef char assertion_failed__909[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_yday) == sizeof(((tm *) __null)->tm_yday))-1]; typedef char assertion_failed__909[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_yday) == __builtin_offsetof(tm, tm_yday))-1];
4191typedef char assertion_failed__910[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_isdst) == sizeof(((tm *) __null)->tm_isdst))-1]; typedef char assertion_failed__910[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_isdst) == __builtin_offsetof(tm, tm_isdst))-1];
4192typedef char assertion_failed__911[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_gmtoff) == sizeof(((tm *) __null)->tm_gmtoff))-1]; typedef char assertion_failed__911[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_gmtoff) == __builtin_offsetof(tm, tm_gmtoff))-1];
4193typedef char assertion_failed__912[2*(int)(sizeof(((__sanitizer_tm *) __null)->tm_zone) == sizeof(((tm *) __null)->tm_zone))-1]; typedef char assertion_failed__912[2*(int)(__builtin_offsetof(__sanitizer_tm, tm_zone) == __builtin_offsetof(tm, tm_zone))-1];
4194# 924 "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4/projects/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cc"
4195typedef char assertion_failed__924[2*(int)(sizeof(__sanitizer_ether_addr) == sizeof(ether_addr))-1];