1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-22 10:27:48 +03:00

temporary

This commit is contained in:
Rui Ueyama 2020-11-03 18:02:28 +09:00
parent fd7750afcc
commit 49551c5bfc
2 changed files with 4 additions and 0 deletions

View File

@ -498,6 +498,8 @@ int main(int argc, char **argv) {
tbb::global_control tbb_cont(tbb::global_control::max_allowed_parallelism,
get_thread_count(args));
Counter::enabled = args.hasArg(OPT_stat);
if (auto *arg = args.getLastArg(OPT_o))
config.output = arg->getValue();
else

View File

@ -15,3 +15,5 @@ def print_map: F<"print-map">,
HelpText<"Print a link map to the standard output">;
defm thread_count: Eq<"thread-count", "Number of threads to use">;
def stat: F<"stat">;