X87: Debugger: use debug break slots to break at function exit.
authorchunyang.dai <chunyang.dai@intel.com>
Thu, 16 Jul 2015 08:49:34 +0000 (01:49 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 08:49:41 +0000 (08:49 +0000)
commit1d9216504965ab4f3e88d99b4f07bdbefa305676
tree9b3251fdd31cbd3df26077e0d6352880ba9bfcfd
parent2bc5a2121102282fc67cf96423bae02b19e18e42
X87: Debugger: use debug break slots to break at function exit.

port fc9c5275c3a747caca709b7d5745579f70e61301 (r29672).

original commit message:

    Debugger: use debug break slots to break at function exit.

    By not having to patch the return sequence (we patch the debug
    break slot right before it), we don't overwrite it and therefore
    don't have to keep the original copy of the code around.

BUG=

Review URL: https://codereview.chromium.org/1236023007

Cr-Commit-Position: refs/heads/master@{#29694}
src/x87/assembler-x87-inl.h
src/x87/assembler-x87.cc
src/x87/assembler-x87.h
src/x87/debug-x87.cc
src/x87/full-codegen-x87.cc
src/x87/macro-assembler-x87.h