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 /docs/LangRef.html | |
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 'docs/LangRef.html')
-rw-r--r-- | docs/LangRef.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index b222b06..f92fbf4 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -307,6 +307,8 @@ '<tt>llvm.annotation.*</tt>' Intrinsic</a></li> <li><a href="#int_trap"> '<tt>llvm.trap</tt>' Intrinsic</a></li> + <li><a href="#int_debugger"> + '<tt>llvm.debugger</tt>' Intrinsic</a></li> <li><a href="#int_stackprotector"> '<tt>llvm.stackprotector</tt>' Intrinsic</a></li> <li><a href="#int_objectsize"> @@ -8400,6 +8402,30 @@ LLVM</a>.</p> <!-- _______________________________________________________________________ --> <h4> + <a name="int_debugger">'<tt>llvm.debugger</tt>' Intrinsic</a> +</h4> + +<div> + +<h5>Syntax:</h5> +<pre> + declare void @llvm.debugger() +</pre> + +<h5>Overview:</h5> +<p>The '<tt>llvm.debugger</tt>' intrinsic.</p> + +<h5>Arguments:</h5> +<p>None.</p> + +<h5>Semantics:</h5> +<p>This intrinsic is lowered to code which is intended to cause an execution + trap with the intention of requesting the attention of a debugger.</p> + +</div> + +<!-- _______________________________________________________________________ --> +<h4> <a name="int_stackprotector">'<tt>llvm.stackprotector</tt>' Intrinsic</a> </h4> |