[BinaryAnnotator] Add more options that control the generation of .afb files (#8323)

* [BinaryAnnotator] Add more options that control the generation of `.afb` files.

* [BinaryAnnotator] Update the include paths.
This commit is contained in:
Anton Bobukh
2024-05-29 13:34:38 -07:00
committed by GitHub
parent 8755c35a18
commit 6ede1ccc9e
5 changed files with 59 additions and 23 deletions

View File

@@ -56,8 +56,8 @@ class AnnotatedBinaryTextGenerator {
// Generate the annotated binary for the given `filename`. Returns true if the
// annotated binary was successfully saved.
bool Generate(const std::string &filename,
const std::string &schema_filename);
bool Generate(const std::string &filename, const std::string &schema_filename,
const std::string &output_filename = "");
private:
const std::map<uint64_t, BinarySection> annotations_;