diff options
author | Bill Wendling <isanbard@gmail.com> | 2007-09-11 08:27:17 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2007-09-11 08:27:17 +0000 |
commit | d1bda4f70ae19dcc4ac3b0ba063c6f3a9af0a580 (patch) | |
tree | d26aa4b527b45bdc2f8b0f53673cd5e6a763363f /include | |
parent | cab8ace01fa55a71fc3bf0deff1ad6eadbe23933 (diff) | |
download | external_llvm-d1bda4f70ae19dcc4ac3b0ba063c6f3a9af0a580.zip external_llvm-d1bda4f70ae19dcc4ac3b0ba063c6f3a9af0a580.tar.gz external_llvm-d1bda4f70ae19dcc4ac3b0ba063c6f3a9af0a580.tar.bz2 |
The personality function on Darwin needs a global stub. We then refer to
that global stub instead of doing the ".set" thingy we were doing before.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 92d6192..97eaa35 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -110,6 +110,12 @@ namespace llvm { const char *FunctionAddrPrefix; // Defaults to "" const char *FunctionAddrSuffix; // Defaults to "" + /// PersonalityPrefix/Suffix - If these are nonempty, these strings will + /// enclose any personality function in the common frame section. + /// + const char *PersonalityPrefix; // Defaults to "" + const char *PersonalitySuffix; // Defaults to "" + /// 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" @@ -428,6 +434,12 @@ namespace llvm { const char *getFunctionAddrSuffix() const { return FunctionAddrSuffix; } + const char *getPersonalityPrefix() const { + return PersonalityPrefix; + } + const char *getPersonalitySuffix() const { + return PersonalitySuffix; + } const char *getInlineAsmStart() const { return InlineAsmStart; } |