[all-commits] [llvm/llvm-project] a01a40: [llvm][utils] Fix innocuous off by one in lldb for...
Dave Lee via All-commits
all-commits at lists.llvm.org
Fri Feb 26 08:10:59 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a01a406bba8ac624a876f8d5720e1d4949a5b0fa
https://github.com/llvm/llvm-project/commit/a01a406bba8ac624a876f8d5720e1d4949a5b0fa
Author: Dave Lee <davelee.com at gmail.com>
Date: 2021-02-26 (Fri, 26 Feb 2021)
Changed paths:
M llvm/utils/lldbDataFormatters.py
Log Message:
-----------
[llvm][utils] Fix innocuous off by one in lldb formatters
num_children is "last_index" + 1, thus
num_children + 1 = "last_index" + 2
this worked anyway because the index of `$$dereference$$` would work as long as
it was past the last index.
More information about the All-commits
mailing list