diff options
| author | Peter LaFosse <peter@vector35.com> | 2025-02-17 09:23:54 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-02-17 21:22:18 -0500 |
| commit | 8e4f68bc6c141bb73ec28aca2cd2e00148750ad7 (patch) | |
| tree | f91da31f5bd35235002556d8da1927421f806bed /view/sharedcache/core/DSCView.cpp | |
| parent | 620588cf56e7409d707250a3e69342d789bea0bc (diff) | |
Don't fully initialize when in parseOnly mode
Diffstat (limited to 'view/sharedcache/core/DSCView.cpp')
| -rw-r--r-- | view/sharedcache/core/DSCView.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/view/sharedcache/core/DSCView.cpp b/view/sharedcache/core/DSCView.cpp index b51f0d98..c22f8c1f 100644 --- a/view/sharedcache/core/DSCView.cpp +++ b/view/sharedcache/core/DSCView.cpp @@ -192,6 +192,9 @@ bool DSCView::Init() programSettings->Set("analysis.workflows.functionWorkflow", "core.function.dsc", this); } + if (m_parseOnly) + return true; + // Add Mach-O file header type info EnumerationBuilder cpuTypeBuilder; cpuTypeBuilder.AddMemberWithValue("CPU_TYPE_ANY", MACHO_CPU_TYPE_ANY); |
