Add an option to run mostly synchronously for profiling

This commit is contained in:
Erica Fischer
2022-09-13 13:00:14 -07:00
parent 8e46650da7
commit b3fea7c172
7 changed files with 31 additions and 10 deletions
+4
View File
@@ -141,6 +141,10 @@ std::string format_commandline(int argc, char **argv) {
std::string out;
for (int i = 0; i < argc; i++) {
if (std::string(argv[i]) == "-pT") {
continue;
}
bool need_quote = false;
for (char *cp = argv[i]; *cp != '\0'; cp++) {
if (!isalpha(*cp) && !isdigit(*cp) &&