aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2021-08-19 16:52:45 +0100
committerFlorian Mayer <fmayer@google.com>2021-08-20 10:12:47 +0100
commit119146f8ae25c31ea630a15761a6fba6b7eb909c (patch)
tree9e94c165859eddd85cec582cfddb778c140ca80d /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent589519b9ab47694159e8c20fa89ae802380f185f (diff)
downloadllvm-119146f8ae25c31ea630a15761a6fba6b7eb909c.zip
llvm-119146f8ae25c31ea630a15761a6fba6b7eb909c.tar.gz
llvm-119146f8ae25c31ea630a15761a6fba6b7eb909c.tar.bz2
[hwasan] do not check if freed pointer belonged to allocator.
In that case it is very likely that there will be a tag mismatch anyway. We handle the case that the pointer belongs to neither of the allocators by getting a nullptr from allocator.GetBlockBegin. Reviewed By: hctim, eugenis Differential Revision: https://reviews.llvm.org/D108383
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions