Lines Matching defs:corpus

33 #include "abg-corpus.h"
341 /// Getter of the write-corpus-path option.
343 /// @return true iff corpus-path information shall be emitted
348 /// Setter of the write-corpus-path option
1404 corpus* c = t->get_corpus();
1418 /// corpus, the user wants us to track non-reachable types.
1420 /// @param corpus the ABI corpus to consider.
1425 write_tracking_non_reachable_types(const corpus_sptr& corpus,
1428 corpus_group* group = corpus->get_group();
1430 if (corpus->recording_types_reachable_from_public_interface_supported())
2117 /// Set the 'write-corpus-path' flag.
2119 /// When this flag is set then the XML writer will emit corpus-path
2124 /// @param flag the new value of the 'write-corpus-path' flag.
2167 /// When this flag is set then the XML writer will emit corpus
2355 // that are maintained for the entire ABI corpus and see if
2382 /// the corpus. If this is the case, all the remaining referenced
3171 /// Write a vector of dependency names for the current corpus we are
4473 /// Serialize an ABI corpus to a single native xml document. The root
4474 /// note of the resulting XML document is 'abi-corpus'.
4476 /// Note: If either corpus is null or corpus does not contain serializable
4477 /// content (i.e. corpus.is_empty()), nothing is emitted to the ctxt's
4482 /// @param corpus the corpus to serialize.
4489 const corpus_sptr& corpus,
4493 if (!corpus)
4496 if (corpus->is_empty())
4503 out << "<abi-corpus ";
4507 // For an abi-corpus as part of an abi-corpus group, only omit the path, but
4509 std::string corpus_path = corpus->get_path();
4525 if (!corpus->get_architecture_name().empty()
4527 out << " architecture='" << corpus->get_architecture_name()<< "'";
4529 if (!corpus->get_soname().empty())
4530 out << " soname='" << corpus->get_soname()<< "'";
4532 write_tracking_non_reachable_types(corpus, out);
4538 if (ctxt.get_write_elf_needed () && !corpus->get_needed().empty())
4542 write_elf_needed(corpus->get_needed(), ctxt,
4549 if (!corpus->get_fun_symbol_map().empty())
4554 write_elf_symbols_table(corpus->get_sorted_fun_symbols(), ctxt,
4562 if (!corpus->get_var_symbol_map().empty())
4567 write_elf_symbols_table(corpus->get_sorted_var_symbols(), ctxt,
4575 unsigned nb_tus = corpus->get_translation_units().size(), n = 0;
4577 corpus->get_translation_units().begin();
4578 i != corpus->get_translation_units().end();
4588 out << "</abi-corpus>\n";
4595 /// Serialize an ABI corpus group to a single native xml document.
4596 /// The root note of the resulting XML document is 'abi-corpus-group'.
4600 /// @param group the corpus group to serialize.
4618 out << "<abi-corpus-group ";
4645 out << "</abi-corpus-group>\n";