diff options
author | Yitzhak Mandelbaum <yitzhakm@google.com> | 2022-03-07 21:16:28 +0000 |
---|---|---|
committer | Yitzhak Mandelbaum <yitzhakm@google.com> | 2022-03-08 03:01:31 +0000 |
commit | 18c84e2d325fe64f303a13b17addce1c0e6aca23 (patch) | |
tree | fb3bbf70783b5652624ef1cfb9efa02143426123 /llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp | |
parent | e55b9b0d0a833517801eccda3e10e599b74d20ec (diff) | |
download | llvm-18c84e2d325fe64f303a13b17addce1c0e6aca23.zip llvm-18c84e2d325fe64f303a13b17addce1c0e6aca23.tar.gz llvm-18c84e2d325fe64f303a13b17addce1c0e6aca23.tar.bz2 |
[clang][dataflow] Fix nullptr dereferencing error.
When pre-initializing fields in the environment, the code assumed that all
fields of a struct would be initialized. However, given limits on value
construction, that assumption is incorrect. This patch changes the code to drop
that assumption and thereby avoid dereferencing a nullptr.
Differential Revision: https://reviews.llvm.org/D121158
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp')
0 files changed, 0 insertions, 0 deletions