aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2022-03-03 14:21:31 +0100
committerHaojian Wu <hokein.wu@gmail.com>2022-03-03 14:27:44 +0100
commit28ccf326725d0fea8648834c8acdbdfe3aa40d7a (patch)
tree3c74adef8781625ea8fde1e7c27fca1602f4b8f3 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent6fc753adaf86d18de1f660abe8e72c0cd870a371 (diff)
downloadllvm-28ccf326725d0fea8648834c8acdbdfe3aa40d7a.zip
llvm-28ccf326725d0fea8648834c8acdbdfe3aa40d7a.tar.gz
llvm-28ccf326725d0fea8648834c8acdbdfe3aa40d7a.tar.bz2
[pseudo] Fix an out-of-bound access for LRTable::Actions.
Without this patch, when End == Start, we access Actions[Actions.end()] though we return an empty result. This fixes an assertion failure in MSVC STL debug build.
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions