aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-04 20:10:41 +0000
committerChris Lattner <sabre@nondot.org>2010-04-04 20:10:41 +0000
commit9be49131363f79ad58a5deb4daf175a7b1c0ec66 (patch)
treec96203a146972306d41461bd10c977eb170e128b /include
parentca6190b108aeb4a2eeb6f5c6457bb17509b85d9d (diff)
downloadexternal_llvm-9be49131363f79ad58a5deb4daf175a7b1c0ec66.zip
external_llvm-9be49131363f79ad58a5deb4daf175a7b1c0ec66.tar.gz
external_llvm-9be49131363f79ad58a5deb4daf175a7b1c0ec66.tar.bz2
simplify some code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100350 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index de10243..4cdd117 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -334,6 +334,15 @@ namespace llvm {
void EmitULEB128(unsigned Value, const char *Desc = 0,
unsigned PadTo = 0) const;
+ /// EmitCFAByte - Emit a .byte 42 directive for a DW_CFA_xxx value.
+ void EmitCFAByte(unsigned Val) const;
+
+ /// EmitEncodingByte - Emit a .byte 42 directive that corresponds to an
+ /// encoding. If verbose assembly output is enabled, we output comments
+ /// describing the encoding. Desc is a string saying what the encoding is
+ /// specifying (e.g. "LSDA").
+ void EmitEncodingByte(unsigned Val, const char *Desc = 0);
+
//===------------------------------------------------------------------===//
// Inline Asm Support
//===------------------------------------------------------------------===//