diff options
author | Dan Gohman <gohman@apple.com> | 2012-05-11 00:19:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2012-05-11 00:19:32 +0000 |
commit | d4347e1af9141ec9f8e3e527367bfd16c0cc4ffb (patch) | |
tree | 15339f77ace4f0f4501e61e22ce6d01f82bce24a /include/llvm/CodeGen/ISDOpcodes.h | |
parent | 61aef8bdf7a60bb1ab510fee0c5b2792468aadd3 (diff) | |
download | external_llvm-d4347e1af9141ec9f8e3e527367bfd16c0cc4ffb.zip external_llvm-d4347e1af9141ec9f8e3e527367bfd16c0cc4ffb.tar.gz external_llvm-d4347e1af9141ec9f8e3e527367bfd16c0cc4ffb.tar.bz2 |
Define a new intrinsic, @llvm.debugger. It will be similar to __builtin_trap(),
but it generates int3 on x86 instead of ud2.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156593 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/ISDOpcodes.h')
-rw-r--r-- | include/llvm/CodeGen/ISDOpcodes.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/ISDOpcodes.h b/include/llvm/CodeGen/ISDOpcodes.h index ab8ab5d..e570e12 100644 --- a/include/llvm/CodeGen/ISDOpcodes.h +++ b/include/llvm/CodeGen/ISDOpcodes.h @@ -582,6 +582,9 @@ namespace ISD { // TRAP - Trapping instruction TRAP, + // DEBUGGER - Trap intented to get the attention of a debugger. + DEBUGGER, + // PREFETCH - This corresponds to a prefetch intrinsic. It takes chains are // their first operand. The other operands are the address to prefetch, // read / write specifier, locality specifier and instruction / data cache |