summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'main.cxx')
-rw-r--r--main.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.cxx b/main.cxx
index daf64561..a3a7e56e 100644
--- a/main.cxx
+++ b/main.cxx
@@ -21,6 +21,8 @@
#include "coveragedb.h"
#include "git_version.h"
#include "rpm_finder.h"
+#include "task_finder.h"
+
#include "sys/sdt.h"
#include <iostream>
@@ -635,6 +637,9 @@ main (int argc, char * const argv [])
case 'd':
s.unwindsym_modules.insert (string (optarg));
+ // PR10228: trigger task-finder logic early if -d /USER-MODULE/ given.
+ if (optarg[0] == '/')
+ enable_task_finder (s);
break;
case 'e':