GCC Middle and Back End API Reference
lang_hooks_for_lto Struct Reference

#include <langhooks.h>

Data Fields

void(* begin_section )(const char *name)
void(* append_data )(const void *data, size_t len, void *block)
void(* end_section )(void)

Detailed Description

   Language hooks related to LTO serialization.  

Field Documentation

void(* lang_hooks_for_lto::append_data)(const void *data, size_t len, void *block)
     Write DATA of length LEN to the currently open LTO section.  BLOCK is a
     pointer to the dynamically allocated memory containing DATA.  The
     append_data function is responsible for freeing it when it is no longer
     needed.  

Referenced by lto_write_stream().

void(* lang_hooks_for_lto::begin_section)(const char *name)
     Begin a new LTO section named NAME.  
void(* lang_hooks_for_lto::end_section)(void)
     End the previously begun LTO section.  

The documentation for this struct was generated from the following file: