summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReader.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-09-08 01:16:50 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-09-08 01:16:50 +0000
commitaf3d4af4ebec2c519823a745665729ded3f9bbce (patch)
tree4d04e8e2c4e48ed30a0e578370541cf36b7c381d /clang/lib/Serialization/ASTReader.cpp
parent213b454698ed53fc00203d0ea7be34f46dd0858d (diff)
downloadbcm5719-llvm-af3d4af4ebec2c519823a745665729ded3f9bbce.tar.gz
bcm5719-llvm-af3d4af4ebec2c519823a745665729ded3f9bbce.zip
Add logic to the DNBArchImplX86_64/DNBArchImplI386::NotifyException() callback method
in order to distinguish the real single step exception from a watchpoint exception which uses the same exc_type of EXC_BREAKPOINT and exc_code of EXC_I386_SGL. This is done by checking the debug status register to find out whether the watchpoint data break event has fired, and, if yes, stuff the data break address into the exception's exc_sub_code field on the debugserver side for lldb to consume on the other end. llvm-svn: 139274
Diffstat (limited to 'clang/lib/Serialization/ASTReader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud