aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-02-08 23:41:56 +0000
committerChris Lattner <sabre@nondot.org>2006-02-08 23:41:56 +0000
commitd6c65ea92449bfba377baccf9b15d9346e96a029 (patch)
treef8a10d75e03e172d69be6f69cf82cf3d39f3927f /include
parent6f4a072e1f41fb2d0392ab818266efe8120c5a03 (diff)
downloadexternal_llvm-d6c65ea92449bfba377baccf9b15d9346e96a029.zip
external_llvm-d6c65ea92449bfba377baccf9b15d9346e96a029.tar.gz
external_llvm-d6c65ea92449bfba377baccf9b15d9346e96a029.tar.bz2
Add support for assembler directives that wrap inline asm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26065 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 94c12f7..956e886 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -86,6 +86,11 @@ namespace llvm {
const char *FunctionAddrPrefix; // Defaults to ""
const char *FunctionAddrSuffix; // Defaults to ""
+ /// InlineAsmStart/End - If these are nonempty, they contain a directive to
+ /// emit before and after an inline assmebly statement.
+ const char *InlineAsmStart; // Defaults to "#APP\n"
+ const char *InlineAsmEnd; // Defaults to "#NO_APP\n"
+
//===--- Data Emission Directives -------------------------------------===//
/// ZeroDirective - this should be set to the directive used to get some