summaryrefslogtreecommitdiff
path: root/lldb/source/DataFormatters/FormatterBytecode.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2025-01-09 18:56:36 +0900
committerNAKAMURA Takumi <geek4civic@gmail.com>2025-01-09 18:56:36 +0900
commitb0cb9219fc3deea4a7bc7cfd8502627f40b50957 (patch)
tree84c5f170501c53288f117cf3192fc7ae2a919321 /lldb/source/DataFormatters/FormatterBytecode.cpp
parent7f16c19a2f3af731ca6c2c47c502d8e9806da2a9 (diff)
parent73176fb8a6c44fc68898f014dd7336515c7fe5f2 (diff)
Merge branch 'users/chapuni/cov/single/binop-base' into users/chapuni/cov/single/binopusers/chapuni/cov/single/binop
Diffstat (limited to 'lldb/source/DataFormatters/FormatterBytecode.cpp')
-rw-r--r--lldb/source/DataFormatters/FormatterBytecode.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/source/DataFormatters/FormatterBytecode.cpp b/lldb/source/DataFormatters/FormatterBytecode.cpp
index e49c75067818..7f3dbe0dba37 100644
--- a/lldb/source/DataFormatters/FormatterBytecode.cpp
+++ b/lldb/source/DataFormatters/FormatterBytecode.cpp
@@ -304,6 +304,9 @@ llvm::Error Interpret(std::vector<ControlStackElement> &control,
control.pop_back();
activate_block();
continue;
+ case op_return:
+ control.clear();
+ return pc.takeError();
// Literals.
case op_lit_uint: