373
374 source_types_t built_source_types(Elf *, const char *);
375 int count_files(char **, int);
376 int read_ctf(char **, int, char *, int (*)(tdata_t *, char *, void *),
377 void *, int);
378 int read_ctf_save_cb(tdata_t *, char *, void *);
379 symit_data_t *symit_new(Elf *, const char *);
380 void symit_reset(symit_data_t *);
381 char *symit_curfile(symit_data_t *);
382 GElf_Sym *symit_next(symit_data_t *, int);
383 char *symit_name(symit_data_t *);
384 void symit_free(symit_data_t *);
385
386 /* merge.c */
387 void merge_into_master(tdata_t *, tdata_t *, tdata_t *, int);
388
389 /* output.c */
390 #define CTF_FUZZY_MATCH 0x1 /* match local symbols to global CTF */
391 #define CTF_USE_DYNSYM 0x2 /* use .dynsym not .symtab */
392 #define CTF_COMPRESS 0x4 /* compress CTF output */
393 #define CTF_KEEP_STABS 0x8 /* keep .stabs sections */
394
395 void write_ctf(tdata_t *, const char *, const char *, int);
396
397 /* parse.c */
398 void parse_init(tdata_t *);
399 void parse_finish(tdata_t *);
400 int parse_stab(stab_t *, char *, iidesc_t **);
401 tdesc_t *lookup(int);
402 tdesc_t *lookupname(const char *);
403 void check_hash(void);
404 void resolve_typed_bitfields(void);
405
406 /* stabs.c */
407 int stabs_read(tdata_t *, Elf *, const char *);
408
409 /* dwarf.c */
410 int dw_read(tdata_t *, Elf *, const char *);
411 const char *dw_tag2str(uint_t);
412
413 /* tdata.c */
|
373
374 source_types_t built_source_types(Elf *, const char *);
375 int count_files(char **, int);
376 int read_ctf(char **, int, char *, int (*)(tdata_t *, char *, void *),
377 void *, int);
378 int read_ctf_save_cb(tdata_t *, char *, void *);
379 symit_data_t *symit_new(Elf *, const char *);
380 void symit_reset(symit_data_t *);
381 char *symit_curfile(symit_data_t *);
382 GElf_Sym *symit_next(symit_data_t *, int);
383 char *symit_name(symit_data_t *);
384 void symit_free(symit_data_t *);
385
386 /* merge.c */
387 void merge_into_master(tdata_t *, tdata_t *, tdata_t *, int);
388
389 /* output.c */
390 #define CTF_FUZZY_MATCH 0x1 /* match local symbols to global CTF */
391 #define CTF_USE_DYNSYM 0x2 /* use .dynsym not .symtab */
392 #define CTF_COMPRESS 0x4 /* compress CTF output */
393
394 void write_ctf(tdata_t *, const char *, const char *, int);
395
396 /* parse.c */
397 void parse_init(tdata_t *);
398 void parse_finish(tdata_t *);
399 int parse_stab(stab_t *, char *, iidesc_t **);
400 tdesc_t *lookup(int);
401 tdesc_t *lookupname(const char *);
402 void check_hash(void);
403 void resolve_typed_bitfields(void);
404
405 /* stabs.c */
406 int stabs_read(tdata_t *, Elf *, const char *);
407
408 /* dwarf.c */
409 int dw_read(tdata_t *, Elf *, const char *);
410 const char *dw_tag2str(uint_t);
411
412 /* tdata.c */
|