diff options
author | Jim Ingham <jingham@apple.com> | 2019-12-20 11:00:11 -0800 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2019-12-20 11:02:24 -0800 |
commit | 2a42a5a2f4144cd99812ad0d230480f94a1d1c92 (patch) | |
tree | d4b33c08279563782d568724e1b8f77152c61cd5 /clang/lib/Serialization/InMemoryModuleCache.cpp | |
parent | 42f9d0c0bee32a1a48a45c039988d27115f30da9 (diff) | |
download | bcm5719-llvm-2a42a5a2f4144cd99812ad0d230480f94a1d1c92.tar.gz bcm5719-llvm-2a42a5a2f4144cd99812ad0d230480f94a1d1c92.zip |
In 'thread step-out' command, only insert a breakpoint in executable memory.
Previously, if the current function had a nonstandard stack layout/ABI, and had a valid
data pointer in the location where the return address is usually located, data corruption
would occur when the breakpoint was written. This could lead to an incorrectly reported
crash or silent corruption of the program's state. Now, if the above check fails, the command safely aborts.
Differential Revision: https://reviews.llvm.org/D71372
Diffstat (limited to 'clang/lib/Serialization/InMemoryModuleCache.cpp')
0 files changed, 0 insertions, 0 deletions