Lines 626-631
struct lto_simple_output_block
Link Here
|
626 |
struct lto_output_stream *main_stream; |
626 |
struct lto_output_stream *main_stream; |
627 |
}; |
627 |
}; |
628 |
|
628 |
|
|
|
629 |
/* location_cache is used at LTO read in to avoid too many duplicates in |
630 |
the linemap tables. */ |
631 |
#define LOCATION_CACHE_SIZE 8093 |
632 |
struct location_cache_entry |
633 |
{ |
634 |
const char *file; |
635 |
int line; |
636 |
location_t location; |
637 |
}; |
638 |
|
629 |
/* Data structure holding all the data and descriptors used when writing |
639 |
/* Data structure holding all the data and descriptors used when writing |
630 |
an LTO file. */ |
640 |
an LTO file. */ |
631 |
struct output_block |
641 |
struct output_block |
Lines 655-661
struct output_block
Link Here
|
655 |
something into the stream and fix these up. */ |
665 |
something into the stream and fix these up. */ |
656 |
const char *current_file; |
666 |
const char *current_file; |
657 |
int current_line; |
667 |
int current_line; |
658 |
int current_col; |
|
|
659 |
|
668 |
|
660 |
/* True if writing globals and types. */ |
669 |
/* True if writing globals and types. */ |
661 |
bool global; |
670 |
bool global; |
Lines 691-699
struct data_in
Link Here
|
691 |
/* Number of unnamed labels. */ |
700 |
/* Number of unnamed labels. */ |
692 |
unsigned int num_unnamed_labels; |
701 |
unsigned int num_unnamed_labels; |
693 |
|
702 |
|
694 |
const char *current_file; |
703 |
const char *current_file, *last_file; |
695 |
int current_line; |
704 |
int current_line, last_line; |
696 |
int current_col; |
705 |
struct location_cache_entry location_cache[LOCATION_CACHE_SIZE]; |
697 |
|
706 |
|
698 |
/* Maps each reference number to the resolution done by the linker. */ |
707 |
/* Maps each reference number to the resolution done by the linker. */ |
699 |
vec<ld_plugin_symbol_resolution_t> globals_resolution; |
708 |
vec<ld_plugin_symbol_resolution_t> globals_resolution; |