diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-27 23:33:50 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-02-27 23:33:50 +0000 |
| commit | cee750fb1e25a75fd4ddae04fd0c6d8ac18fbaa9 (patch) | |
| tree | 841dd4f46160869b56fbe766686abd42a67e64cc /lib/Target/TargetAsmInfo.cpp | |
| parent | 0154e47ed018d4e84a1768f1c8e376af497184f0 (diff) | |
Preparation step for some cleanup/generalization in EH information emission:
provide TAI hook for selection of EH data emission format. Currently unused.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetAsmInfo.cpp')
| -rw-r--r-- | lib/Target/TargetAsmInfo.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index bcc2f6e085..f66d0ffbed 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -13,6 +13,7 @@ //===----------------------------------------------------------------------===// #include "llvm/Target/TargetAsmInfo.h" +#include "llvm/Support/Dwarf.h" #include <cctype> #include <cstring> @@ -134,3 +135,8 @@ unsigned TargetAsmInfo::getInlineAsmLength(const char *Str) const { return Length; } +unsigned TargetAsmInfo::PreferredEHDataFormat(unsigned Reason, + bool Global) const { + return dwarf::DW_EH_PE_absptr; +} + |
