Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libthr/thread/thr_symbols.c
Show All 31 Lines | |||||
#include <sys/types.h> | #include <sys/types.h> | ||||
#include <stddef.h> | #include <stddef.h> | ||||
#include <pthread.h> | #include <pthread.h> | ||||
#include <rtld.h> | #include <rtld.h> | ||||
#include "thr_private.h" | #include "thr_private.h" | ||||
#ifdef __clang__ | |||||
#pragma GCC diagnostic ignored "-Wmissing-variable-declarations" | |||||
#endif | |||||
/* A collection of symbols needed by debugger */ | /* A collection of symbols needed by debugger */ | ||||
/* int _libthr_debug */ | /* int _libthr_debug */ | ||||
int _thread_off_tcb = offsetof(struct pthread, tcb); | int _thread_off_tcb = offsetof(struct pthread, tcb); | ||||
int _thread_off_tid = offsetof(struct pthread, tid); | int _thread_off_tid = offsetof(struct pthread, tid); | ||||
int _thread_off_next = offsetof(struct pthread, tle.tqe_next); | int _thread_off_next = offsetof(struct pthread, tle.tqe_next); | ||||
int _thread_off_attr_flags = offsetof(struct pthread, attr.flags); | int _thread_off_attr_flags = offsetof(struct pthread, attr.flags); | ||||
int _thread_off_linkmap = offsetof(Obj_Entry, linkmap); | int _thread_off_linkmap = offsetof(Obj_Entry, linkmap); | ||||
Show All 12 Lines |