aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2025-04-16 17:57:51 +0200
committerGitHub <noreply@github.com>2025-04-16 17:57:51 +0200
commit419fa1b06a36336ad85f1c71fc72ffa719ceb659 (patch)
treef460882076f298c02ff854d2cbb500c2b0dc38b5 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent0045b82a42bd36306a14f8b40bd9b54470c299ea (diff)
downloadllvm-419fa1b06a36336ad85f1c71fc72ffa719ceb659.zip
llvm-419fa1b06a36336ad85f1c71fc72ffa719ceb659.tar.gz
llvm-419fa1b06a36336ad85f1c71fc72ffa719ceb659.tar.bz2
[lldb][DataFormatter] Surface CalculateNumChildren errors in std::vector summary (#135944)
When the data-formatters happen to break (e.g., due to layout changes in libc++), there's no clear indicator of them failing from a user's perspective. E.g., for `std::vector`s we would just show: ``` (std::vector<int>) v = size=0 {} ``` which is highly misleading, especially if `v.size()` returns a non-zero size. This patch surfaces the various errors that could occur when calculating the number of children of a vector. rdar://146964266
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions