summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein@google.com>2018-08-22 12:34:04 +0000
committerHaojian Wu <hokein@google.com>2018-08-22 12:34:04 +0000
commita3b34574cce85762ac7e52ea2e6aabb5efd5e543 (patch)
treed3edbd4f3ee1d1cc503197c87b3d93db0d939117 /clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp
parent42e15deb6c7b4c4794f19fdf81a37338bfcd7cd9 (diff)
downloadbcm5719-llvm-a3b34574cce85762ac7e52ea2e6aabb5efd5e543.tar.gz
bcm5719-llvm-a3b34574cce85762ac7e52ea2e6aabb5efd5e543.zip
[Preamble] Fix an undefined behavior when checking an empty preamble can be reused.
Summary: Passing nullptr to memcmp is UB. Reviewers: ilya-biryukov Reviewed By: ilya-biryukov Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D50967 llvm-svn: 340403
Diffstat (limited to 'clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud