summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ModuleFileExtension.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2019-12-20 11:00:11 -0800
committerJim Ingham <jingham@apple.com>2019-12-20 11:02:24 -0800
commit2a42a5a2f4144cd99812ad0d230480f94a1d1c92 (patch)
treed4b33c08279563782d568724e1b8f77152c61cd5 /clang/lib/Serialization/ModuleFileExtension.cpp
parent42f9d0c0bee32a1a48a45c039988d27115f30da9 (diff)
downloadbcm5719-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/ModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud