"ipa_pure_const",
"ipa_reference",
"symtab",
- "wpa_fixup",
"opts"
};
-unsigned char
+unsigned char
lto_input_1_unsigned (struct lto_input_block *ib)
{
if (ib->p >= ib->len)
/* Read an ULEB128 Number of IB. */
-unsigned HOST_WIDE_INT
+unsigned HOST_WIDE_INT
lto_input_uleb128 (struct lto_input_block *ib)
{
unsigned HOST_WIDE_INT result = 0;
/* HOST_WIDEST_INT version of lto_input_uleb128. IB is as in
lto_input_uleb128. */
-unsigned HOST_WIDEST_INT
+unsigned HOST_WIDEST_INT
lto_input_widest_uint_uleb128 (struct lto_input_block *ib)
{
unsigned HOST_WIDEST_INT result = 0;
/* Read an SLEB128 Number of IB. */
-HOST_WIDE_INT
+HOST_WIDE_INT
lto_input_sleb128 (struct lto_input_block *ib)
{
HOST_WIDE_INT result = 0;
/* Hooks so that the ipa passes can call into the lto front end to get
sections. */
-static struct lto_file_decl_data ** file_decl_data;
+static struct lto_file_decl_data ** file_decl_data;
static lto_get_section_data_f* get_section_f;
static lto_free_section_data_f* free_section_f;
used by the ipa passes to get the data that they will
deserialize. */
-void
-lto_set_in_hooks (struct lto_file_decl_data ** data,
+void
+lto_set_in_hooks (struct lto_file_decl_data ** data,
lto_get_section_data_f* get_f,
lto_free_section_data_f* free_f)
{
returned. */
const char *
-lto_get_section_data (struct lto_file_decl_data *file_data,
+lto_get_section_data (struct lto_file_decl_data *file_data,
enum lto_section_type section_type,
- const char *name,
+ const char *name,
size_t *len)
{
const char *data = (get_section_f) (file_data, section_type, name, len);
header = (struct lto_data_header *) xmalloc (header_length);
header->data = data;
header->len = *len;
-
+
buffer.data = (char *) header;
- buffer.length = header_length;
+ buffer.length = header_length;
stream = lto_start_uncompression (lto_append_data, &buffer);
lto_uncompress_block (stream, data, *len);
parameters are the same as above. DATA is the data to be freed and
LEN is the length of that data. */
-void
-lto_free_section_data (struct lto_file_decl_data *file_data,
+void
+lto_free_section_data (struct lto_file_decl_data *file_data,
enum lto_section_type section_type,
const char *name,
const char *data,
used to free the section. Return NULL if the section is not present. */
struct lto_input_block *
-lto_create_simple_input_block (struct lto_file_decl_data *file_data,
+lto_create_simple_input_block (struct lto_file_decl_data *file_data,
enum lto_section_type section_type,
const char **datar, size_t *len)
{
const char *data = lto_get_section_data (file_data, section_type, NULL, len);
- const struct lto_simple_header * header
+ const struct lto_simple_header * header
= (const struct lto_simple_header *) data;
struct lto_input_block* ib_main;
- int32_t main_offset = sizeof (struct lto_simple_header);
+ int32_t main_offset = sizeof (struct lto_simple_header);
if (!data)
return NULL;
that call. */
void
-lto_destroy_simple_input_block (struct lto_file_decl_data *file_data,
+lto_destroy_simple_input_block (struct lto_file_decl_data *file_data,
enum lto_section_type section_type,
struct lto_input_block *ib,
const char *data, size_t len)