mirror of
https://github.com/rui314/mold.git
synced 2024-09-22 10:27:48 +03:00
temporary
This commit is contained in:
parent
fd7750afcc
commit
49551c5bfc
2
main.cc
2
main.cc
@ -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
|
||||
|
@ -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">;
|
||||
|
Loading…
Reference in New Issue
Block a user