aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-09-11 17:20:55 +0000
committerBill Wendling <isanbard@gmail.com>2007-09-11 17:20:55 +0000
commitef4a661725716c60b49c40eed5225cac52f877e9 (patch)
tree6764d809a3b2b39aba0e03a8c8c29478a7018217 /include
parent95bb69acbcec9a2e162875e7a940ccede90fd3f9 (diff)
downloadexternal_llvm-ef4a661725716c60b49c40eed5225cac52f877e9.zip
external_llvm-ef4a661725716c60b49c40eed5225cac52f877e9.tar.gz
external_llvm-ef4a661725716c60b49c40eed5225cac52f877e9.tar.bz2
Add a bool to indicate if we should set the "indirect encoding" bit in the Dwarf
information for EH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41852 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 97eaa35..3326088 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -116,6 +116,11 @@ namespace llvm {
const char *PersonalityPrefix; // Defaults to ""
const char *PersonalitySuffix; // Defaults to ""
+ /// NeedsIndirectEncoding - If set, we need to set the indirect encoding bit
+ /// for EH in Dwarf.
+ ///
+ bool NeedsIndirectEncoding; // Defaults to false
+
/// InlineAsmStart/End - If these are nonempty, they contain a directive to
/// emit before and after an inline assembly statement.
const char *InlineAsmStart; // Defaults to "#APP\n"