Python support (#37)
* Initial python support * Add python testing * Increase timeout for bin tests * cmake-format * Valid build types + testing + formatting + more - Enforce valid build types - Fix to numpy install - Increase testing timeout - Fix to cmake format glob - Fix to backtrace verbose * Disable stripping libraries by default * omnitrace exe updates - new '--print-instructions' option - changed format of instructions in JSON - remove no-save-fpr tests * Default to strip libraries when release build
This commit is contained in:
1 parent
945f541965
commit
afa3edebab
42 files changed
+2442
-239
No files matched your search
@@ -51,6 +51,7 @@ size_t min_loop_address_range = (1 << 8); // 256
|
||||
size_t min_instructions = (1 << 6); // 64
|
||||
bool werror = false;
|
||||
bool debug_print = false;
|
||||
bool instr_print = false;
|
||||
int verbose_level = tim::get_env<int>("OMNITRACE_VERBOSE_INSTRUMENT", 0);
|
||||
string_t main_fname = "main";
|
||||
string_t argv0 = {};
|
||||
@@ -356,6 +357,12 @@ main(int argc, char** argv)
|
||||
.action([](parser_t& p) {
|
||||
print_overlapping = p.get<std::string>("print-overlapping");
|
||||
});
|
||||
parser
|
||||
.add_argument(
|
||||
{ "--print-instructions" },
|
||||
"Print the instructions for each basic-block in the JSON/XML outputs")
|
||||
.max_count(1)
|
||||
.action([](parser_t& p) { instr_print = p.get<bool>("print-instructions"); });
|
||||
|
||||
parser.add_argument({ "" }, "");
|
||||
parser.add_argument({ "[MODE OPTIONS]" }, "");
|
||||
|
||||
Reference in new issue
Block a user