diff options
author | Jaydeep Patil <jaydeep.patil@imgtec.com> | 2015-08-13 03:44:09 +0000 |
---|---|---|
committer | Jaydeep Patil <jaydeep.patil@imgtec.com> | 2015-08-13 03:44:09 +0000 |
commit | 831435042e887d35876eba411a07082eb6f6a246 (patch) | |
tree | f9e4e954783c5dcd8aa0c2e9c3283583c2434901 /clang/lib/Frontend/CompilerInstance.cpp | |
parent | 023e3050c572cbd664452c85dc205415fc62f51f (diff) | |
download | llvm-831435042e887d35876eba411a07082eb6f6a246.zip llvm-831435042e887d35876eba411a07082eb6f6a246.tar.gz llvm-831435042e887d35876eba411a07082eb6f6a246.tar.bz2 |
[LLDB][MIPS] Handle false positives for MIPS hardware watchpoints
SUMMARY:
Last 3bits of the watchpoint address are masked by the kernel. For example, n is
at 0x120010d00 and m is 0x120010d04. When a watchpoint is set at m, then watch
exception is generated even when n is read/written. To handle this case, instruction
at PC is emulated to find the base address of the load/store instruction. This address
is then appended to the description of the stop-info packet. Client then reads this
information to check whether the user has set a watchpoint on this address.
Reviewers: jingham, clayborg
Subscribers: nitesh.jain, mohit.bhakkad, sagar, bhushan and lldb-commits
Differential Revision: http://reviews.llvm.org/D11672
llvm-svn: 244864
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
0 files changed, 0 insertions, 0 deletions