commit | d4347e1af9141ec9f8e3e527367bfd16c0cc4ffb | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri May 11 00:19:32 2012 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri May 11 00:19:32 2012 +0000 |
tree | 15339f77ace4f0f4501e61e22ce6d01f82bce24a | |
parent | 61aef8bdf7a60bb1ab510fee0c5b2792468aadd3 [diff] [blame] |
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
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp index f981afb..7b633ef 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
@@ -265,6 +265,7 @@ case ISD::STACKSAVE: return "stacksave"; case ISD::STACKRESTORE: return "stackrestore"; case ISD::TRAP: return "trap"; + case ISD::DEBUGGER: return "debugger"; // Bit manipulation case ISD::BSWAP: return "bswap";