[Mlir-commits] [mlir] [mlir][python] automatic location inference (PR #151246)
Jacques Pienaar
llvmlistbot at llvm.org
Thu Jul 31 01:19:54 PDT 2025
================
@@ -114,6 +118,37 @@ class PyGlobals {
std::optional<nanobind::object>
lookupOperationClass(llvm::StringRef operationName);
+ class TracebackLoc {
+ public:
+ bool locTracebacksEnabled() const;
+
+ void setLocTracebacksEnabled(bool value);
+
+ size_t locTracebackFramesLimit() const;
+
+ void setLocTracebackFramesLimit(size_t value);
+
+ void registerTracebackFileInclusion(const std::string &file);
----------------
jpienaar wrote:
I was going to say the name would make me think its overriding and suggeste append. But I see this is consistent with the diagnostic handlers wording.
https://github.com/llvm/llvm-project/pull/151246
More information about the Mlir-commits
mailing list