================
@@ -1441,6 +1443,26 @@ lldb_private::Status
ClangExpressionParser::DoPrepareForExecution(
custom_passes.EarlyPasses->run(*llvm_module_up);
}
+ std::unique_ptr<llvm::legacy::PassManager> arch_passes(nullptr);
+ if (lldb::TargetSP target_sp = exe_ctx.GetTargetSP()) {
+ Architecture *arch = target_sp->GetArchitecturePlugin();
+ if (arch) {
----------------
dlav-sc wrote:
addressed
https://github.com/llvm/llvm-project/pull/99336
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits