You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by tq...@apache.org on 2024/10/14 13:04:12 UTC
(tvm) branch main updated: Show the record if the escape sequence is unsupported (#17458)
This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new 43f6c08f9d Show the record if the escape sequence is unsupported (#17458)
43f6c08f9d is described below
commit 43f6c08f9db04adc73a17d3d99efdc6135ff0d3d
Author: sunzj <ha...@gmail.com>
AuthorDate: Mon Oct 14 21:04:06 2024 +0800
Show the record if the escape sequence is unsupported (#17458)
* Show the record if the escape sequence is unsupported
Show the record if the escape sequence is unspported. so we can find and check it.
* Show the record if the escape sequence is unsupported
Show the record if the escape sequence is unspported. so we can find and check it.
---
src/meta_schedule/database/database_utils.cc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/meta_schedule/database/database_utils.cc b/src/meta_schedule/database/database_utils.cc
index ce025540e4..22b0933db4 100644
--- a/src/meta_schedule/database/database_utils.cc
+++ b/src/meta_schedule/database/database_utils.cc
@@ -236,7 +236,8 @@ class JSONTokenizer {
str.push_back('\t');
break;
default:
- LOG(FATAL) << "ValueError: Unsupported escape sequence: \\" << *cur_;
+ LOG(FATAL) << "ValueError: Unsupported escape sequence: \\" << *cur_
+ << ". record:" << std::string(cur_, end_);
}
}
if (cur_ == end_) {