From af774b5b8a8eac1a9ac3e3541038fd8906ea506c Mon Sep 17 00:00:00 2001 From: ctw Date: Mon, 10 Jan 2022 09:40:57 +0800 Subject: [PATCH] add column number for backtrace Signed-off-by: ctw Change-Id: Ia1d82781278cc25ce5b83ef87efded3773a34a32 --- ts2panda/ts2abc/ts2abc.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts2panda/ts2abc/ts2abc.cpp b/ts2panda/ts2abc/ts2abc.cpp index 0e72bf4f5e..c0f7fd4afb 100644 --- a/ts2panda/ts2abc/ts2abc.cpp +++ b/ts2panda/ts2abc/ts2abc.cpp @@ -391,6 +391,10 @@ static void ParseInstructionDebugInfo(const Json::Value &ins, panda::pandasm::In if (debugPosInfo.isMember("wholeLine") && debugPosInfo["wholeLine"].isString()) { insDebug.whole_line = debugPosInfo["wholeLine"].asString(); } + + if (debugPosInfo.isMember("columnNum") && debugPosInfo["columnNum"].isInt()) { + insDebug.column_number = debugPosInfo["columnNum"].asInt(); + } } if (debugPosInfo.isMember("lineNum") && debugPosInfo["lineNum"].isInt()) { -- Gitee