From 4cb8618d7f4fe0fb8f002651bc570a710cf7e3e1 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Tue, 15 Jan 2008 22:31:34 +0000 Subject: [PATCH] Add description of 'llvm.trap' intrinsic. Also, minor fixes in formatting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46024 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 44 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 49bcc974f08..5aa5157251e 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -208,10 +208,10 @@
  1. llvm.var.annotation' Intrinsic
  2. -
-
  1. llvm.annotation.*' Intrinsic
  2. +
  3. + llvm.trap' Intrinsic
@@ -5238,10 +5238,11 @@ file name, and the last argument is the line number.
Semantics:

-This intrinsic allows annotation of local variables with arbitrary strings. +This intrinsic allows annotation of local variables with arbitrary strings. This can be useful for special purpose optimizations that want to look for these - annotations. These have no other defined use, they are ignored by code - generation and optimization. +annotations. These have no other defined use, they are ignored by code +generation and optimization. +

@@ -5287,6 +5288,39 @@ that want to look for these annotations. These have no other defined use, they are ignored by code generation and optimization. + +
+ 'llvm.trap' Intrinsic +
+ +
+ +
Syntax:
+
+  declare void @llvm.trap()
+
+ +
Overview:
+ +

+The 'llvm.trap' intrinsic +

+ +
Arguments:
+ +

+None +

+ +
Semantics:
+ +

+This intrinsics is lowered to the target dependent trap instruction. If the +target does not have a trap instruction, this intrinsic will be lowered to the +call of the abort() function. +

+
+