/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | ctftools.h | 317 } tdata_t; typedef 337 tdata_t *iib_td; 346 void cvt_fixstabs(tdata_t *); 347 void cvt_fixups(tdata_t *, size_t); 351 tdata_t *ctf_load(char *, caddr_t, size_t, symit_data_t *, char *); 356 void iter_iidescs_by_name(tdata_t *, const char *, 376 int read_ctf(char **, int, char *, int (*)(tdata_t *, char *, void *), 378 int read_ctf_save_cb(tdata_t *, char *, void *); 387 void merge_into_master(tdata_t *, tdata_t *, tdata_t *, int); 394 void write_ctf(tdata_t *, const char *, const char *, int); [all …]
|
H A D | tdata.c | 274 tdata_label_add(tdata_t *td, char *label, int idx) in tdata_label_add() 296 tdata_label_top(tdata_t *td) in tdata_label_top() 312 tdata_label_find(tdata_t *td, char *label) in tdata_label_find() 346 tdata_label_newmax(tdata_t *td, int newmax) in tdata_label_newmax() 361 tdata_label_free(tdata_t *td) in tdata_label_free() 367 tdata_t * 370 tdata_t *new = xcalloc(sizeof (tdata_t)); in tdata_new() 391 tdata_free(tdata_t *td) in tdata_free() 412 tdata_t *td = private; in build_hashes() 438 tdata_build_hashes_common(tdata_t *td, hash_t *hash) in tdata_build_hashes_common() [all …]
|
H A D | fixup_tdescs.c | 53 fix_ptrptr_to_struct(tdata_t *td) in fix_ptrptr_to_struct() 107 fix_ptr_to_struct(tdata_t *td) in fix_ptr_to_struct() 154 cvt_fixstabs(tdata_t *td) in cvt_fixstabs() 179 lookup_tdesc(tdata_t *td, const char *name) in lookup_tdesc() 198 fix_small_cpu_struct(tdata_t *td, size_t ptrsize) in fix_small_cpu_struct() 274 cvt_fixups(tdata_t *td, size_t ptrsize) in cvt_fixups()
|
H A D | ctfconvert.c | 78 file_read(tdata_t *td, const char *filename, int ignore_non_c) in file_read() 80 typedef int (*reader_f)(tdata_t *, Elf *, const char *); in file_read() 147 tdata_t *filetd, *mstrtd; in main()
|
H A D | ctfmerge.c | 373 wip_add_work(wip_t *slot, tdata_t *pow) in wip_add_work() 393 tdata_t *pow; in worker_runphase1() 439 tdata_t *pow1, *pow2; in worker_runphase2() 540 merge_ctf_cb(tdata_t *td, char *name, void *arg) in merge_ctf_cb() 605 tdata_t *srctd; in copy_ctf_data() 735 tdata_t *mstrtd, *savetd; in main() 933 tdata_t *reftd; in main() 962 tdata_t *withtd = reftd; in main()
|
H A D | input.c | 44 typedef int read_cb_f(tdata_t *, char *, void *); 93 tdata_t *td; in read_file() 223 read_ctf_save_cb(tdata_t *td, char *name, void *retp) in read_ctf_save_cb() 225 tdata_t **tdp = retp; in read_ctf_save_cb()
|
H A D | output.c | 116 iiburst_new(tdata_t *td, int max) in iiburst_new() 191 find_iidesc(tdata_t *td, iidesc_match_t *match) in find_iidesc() 303 copy_from_strong(tdata_t *td, GElf_Sym *sym, iidesc_t *strongdesc, in copy_from_strong() 329 sort_iidescs(Elf *elf, const char *file, tdata_t *td, int fuzzymatch, in sort_iidescs() 669 make_ctf_data(tdata_t *td, Elf *elf, const char *file, size_t *lenp, int flags) in make_ctf_data() 684 write_ctf(tdata_t *td, const char *curname, const char *newname, int flags) in write_ctf()
|
H A D | ctfmerge.h | 48 tdata_t *wip_td;
|
H A D | compare.c | 56 tdata_t *ctftd, *stabrtd, *stabtd, *difftd; in main()
|
H A D | merge.c | 146 tdata_t *md_parent; 147 tdata_t *md_tgt; 903 tdata_t *rmd_tgt; 1081 merge_into_master(tdata_t *cur, tdata_t *mstr, tdata_t *tgt, int selfuniquify) in merge_into_master()
|
H A D | ctf.c | 744 resurrect_labels(ctf_header_t *h, tdata_t *td, caddr_t ctfdata, char *matchlbl) in resurrect_labels() 789 resurrect_objects(ctf_header_t *h, tdata_t *td, tdesc_t **tdarr, int tdsize, in resurrect_objects() 832 resurrect_functions(ctf_header_t *h, tdata_t *td, tdesc_t **tdarr, int tdsize, in resurrect_functions() 901 resurrect_types(ctf_header_t *h, tdata_t *td, tdesc_t **tdarr, int tdsize, in resurrect_types() 1168 static tdata_t * 1171 tdata_t *td = tdata_new(); in ctf_parse() 1235 tdata_t * 1241 tdata_t *td; in ctf_load()
|
H A D | stabs.c | 116 resolve_nodes(tdata_t *td) in resolve_nodes() 177 stabs_read(tdata_t *td, Elf *elf, const char *file) in stabs_read()
|
H A D | iidesc.c | 110 iter_iidescs_by_name(tdata_t *td, const char *name, in iter_iidescs_by_name()
|
H A D | st_parse.c | 126 parse_init(tdata_t *td) in parse_init() 142 parse_finish(tdata_t *td) in parse_finish()
|
H A D | dwarf.c | 134 tdata_t *dw_td; /* root of the tdesc/iidesc tree */ 1896 dw_read(tdata_t *td, Elf *elf, const char *filename) in dw_read()
|