aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectBreakpointCommand.cpp
diff options
context:
space:
mode:
authorThomas Lively <tlively@google.com>2021-02-09 14:42:43 -0800
committerThomas Lively <tlively@google.com>2021-02-09 14:42:43 -0800
commit067f005500af3093ee23d3c044f9b009c5bd94cf (patch)
tree2b573baf8550e7e72eedf6a22d4c63b7f522e917 /lldb/source/Commands/CommandObjectBreakpointCommand.cpp
parent6e3292b0b718a4fec524796e3899a4df5e7ccfb7 (diff)
downloadllvm-067f005500af3093ee23d3c044f9b009c5bd94cf.zip
llvm-067f005500af3093ee23d3c044f9b009c5bd94cf.tar.gz
llvm-067f005500af3093ee23d3c044f9b009c5bd94cf.tar.bz2
[lld][WebAssembly] Fix segfault in map file support
The code previously assumed that `getChunk` would return a non-null pointer for every symbol, but in fact it only returns non-null pointers for DefinedFunction and DefinedData symbols. This patch fixes the segfault by checking whether `getChunk` returns a null for each symbol and skipping the mapping output for any symbols for which it does. Differential Revision: https://reviews.llvm.org/D88369
Diffstat (limited to 'lldb/source/Commands/CommandObjectBreakpointCommand.cpp')
0 files changed, 0 insertions, 0 deletions