File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,8 @@ int main(int argc, char **argv)
276276 options.add_options (" developer" )
277277 (" X,trace" , " enable tracing of core data structure changes. for debugging" )
278278 (" M,randomize-pointers" , " will slightly randomize allocated pointer addresses. for debugging" )
279+ (" autoidx" , " start counting autoidx up from <seed>, similar effect to --hash-seed" ,
280+ cxxopts::value<uint64_t >(), " <idx>" )
279281 (" A,abort" , " will call abort() at the end of the script. for debugging" )
280282 (" x,experimental" , " do not print warnings for the experimental <feature>" ,
281283 cxxopts::value<std::vector<std::string>>(), " <feature>" )
@@ -427,6 +429,10 @@ int main(int argc, char **argv)
427429 if (result.count (" infile" )) {
428430 frontend_files = result[" infile" ].as <std::vector<std::string>>();
429431 }
432+ if (result.count (" autoidx" )) {
433+ int idx = result[" autoidx" ].as <uint64_t >();
434+ autoidx = idx;
435+ }
430436
431437 if (log_errfile == NULL ) {
432438 log_files.push_back (stdout);
You can’t perform that action at this time.
0 commit comments