10 lines · plain
1// Checks that the debugger hook is enabled when called with the CLI option.2// RUN: mlir-opt %s --mlir-enable-debugger-hook --pass-pipeline="builtin.module(func.func(canonicalize))" --mlir-disable-threading 2>&1 | FileCheck %s3 4func.func @foo() {5 return6}7 8// CHECK: ExecutionContext registered on the context9// CHECK-SAME: (with Debugger hook)10