Lines Matching defs:opts
55 parse_command_line(int argc, char* argv[], options& opts)
64 if (opts.elf1.empty())
65 opts.elf1 = argv[i];
66 else if (opts.elf2.empty())
67 opts.elf2 = argv[i];
72 opts.display_help = true;
74 opts.categorize_redundancy = true;
76 opts.apply_filters = true;
86 options opts;
88 if (!parse_command_line(argc, argv, opts))
95 if (opts.display_help)
101 if (!opts.elf1.empty() && !opts.elf2.empty())
108 c1 = dwarf::read_corpus_from_elf(opts.elf1, di_roots, env,
113 cerr << "Failed to read elf file " << opts.elf1 << "\n";
117 c2 = dwarf::read_corpus_from_elf(opts.elf2, di_roots, env,
122 cerr << "Failed to read elf file " << opts.elf2 << "\n";
130 << opts.elf1 << " and " << opts.elf2;
134 if (opts.categorize_redundancy)
137 if (opts.apply_filters)