diff --git a/mlir/include/mlir/ExecutionEngine/SparseTensor/ErrorHandling.h b/mlir/include/mlir/ExecutionEngine/SparseTensor/ErrorHandling.h --- a/mlir/include/mlir/ExecutionEngine/SparseTensor/ErrorHandling.h +++ b/mlir/include/mlir/ExecutionEngine/SparseTensor/ErrorHandling.h @@ -37,6 +37,7 @@ #define MLIR_SPARSETENSOR_FATAL(...) \ do { \ fprintf(stderr, "SparseTensorUtils: " __VA_ARGS__); \ + fprintf(stderr, "SparseTensorUtils: at %s:%d\n", __FILE__, __LINE__); \ exit(1); \ } while (0)