summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2011-12-13 06:00:49 +0000
committerJason Molenda <jmolenda@apple.com>2011-12-13 06:00:49 +0000
commit87698349b3c390d5f1973641586ca48d40ce801c (patch)
treefa8c5b372a0a4d5b6b94cd9af448bcaaadce1cea /clang/test/CXX
parentcb349ee19c8eccc65829e6739096aceb0ae09135 (diff)
downloadbcm5719-llvm-87698349b3c390d5f1973641586ca48d40ce801c.tar.gz
bcm5719-llvm-87698349b3c390d5f1973641586ca48d40ce801c.zip
Add two new memory region based checks to the Unwinder:
Check that the pc value for frames up the stack is in a mapped+executable region of memory. Check that the stack pointer for frames up the stack is in a mapped+readable region of memory. If the unwinder ever makes a mistake walking the stack, these checks will help to keep it from going too far into the weeds. These aren't fixing any bugs that I know of, but they add extra robustness to a complicated task. llvm-svn: 146478
Diffstat (limited to 'clang/test/CXX')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud