aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorRiver Riddle <riddleriver@gmail.com>2021-09-24 23:45:25 +0000
committerRiver Riddle <riddleriver@gmail.com>2021-09-24 23:48:51 +0000
commitef764eeeb99a62f29d0a20c424328e7be2f5bfb8 (patch)
treeab4b16adc36f9dd2c26b0ef915632938a363bb0f /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parentce6ed64a6953ad0a88b08665c54bae0c1f0f2c84 (diff)
downloadllvm-ef764eeeb99a62f29d0a20c424328e7be2f5bfb8.zip
llvm-ef764eeeb99a62f29d0a20c424328e7be2f5bfb8.tar.gz
llvm-ef764eeeb99a62f29d0a20c424328e7be2f5bfb8.tar.bz2
[mlir:ElementsAttr] Avoid crash on empty contiguous ranges
We currently, incorrectly, assume that a range always has at least one element when building a contiguous range. This commit adds a proper empty check to avoid crashing. Differential Revision: https://reviews.llvm.org/D110457
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions