[all-commits] [llvm/llvm-project] aabc4b: [ORC] Don't try to copy from an empty segment in S...
lhames via All-commits
all-commits at lists.llvm.org
Wed Jul 20 16:47:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aabc4b13e8c9c1c17cb6ee0975f54e816fc6da8a
https://github.com/llvm/llvm-project/commit/aabc4b13e8c9c1c17cb6ee0975f54e816fc6da8a
Author: Lang Hames <lhames at gmail.com>
Date: 2022-07-20 (Wed, 20 Jul 2022)
Changed paths:
M llvm/lib/ExecutionEngine/Orc/TargetProcess/SimpleExecutorMemoryManager.cpp
Log Message:
-----------
[ORC] Don't try to copy from an empty segment in SimpleExecutorMemoryManager.
Since 67220c2ad72e empty SPSSequence<char>s deserialize to default-constructed
ArrayRef<char>s, which have a null data field. We need to check for this to
avoid memcpy'ing from a nullptr.
This should fix the bot failure in
https://lab.llvm.org/buildbot/#/builders/85/builds/9323
More information about the All-commits
mailing list