diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2007-05-05 09:04:50 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2007-05-05 09:04:50 +0000 |
commit | 2a07e2f4df8010bbb07591a097b5e55101ed4a96 (patch) | |
tree | 5d85e8e65348a29e71c4785505639e005030bffb /include/llvm/Target/TargetAsmInfo.h | |
parent | 440168b00e9739760ae7e1e49191bdfa0ffee4cf (diff) | |
download | external_llvm-2a07e2f4df8010bbb07591a097b5e55101ed4a96.zip external_llvm-2a07e2f4df8010bbb07591a097b5e55101ed4a96.tar.gz external_llvm-2a07e2f4df8010bbb07591a097b5e55101ed4a96.tar.bz2 |
Emit sections/directives in the proper order. This fixes PR1376. Also,
some small cleanup was made.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36780 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetAsmInfo.h')
-rw-r--r-- | include/llvm/Target/TargetAsmInfo.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 0a9047b..7e96c09 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -282,8 +282,13 @@ namespace llvm { /// HasDotFile - True if target asm supports .file directives. /// bool HasDotFile; // Defaults to false. - - /// SupportsExceptionHandling - True if target supports exception handling. + + /// SupportsDebugInformation - True if target supports emission of debugging + /// information. + bool SupportsDebugInformation; + + /// SupportsExceptionHandling - True if target supports + /// exception handling. /// bool SupportsExceptionHandling; // Defaults to false. @@ -549,10 +554,13 @@ namespace llvm { bool hasDotFile() const { return HasDotFile; } - bool getSupportsExceptionHandling() const { + bool doesSupportDebugInformation() const { + return SupportsDebugInformation; + } + bool doesSupportExceptionHandling() const { return SupportsExceptionHandling; } - bool getDwarfRequiresFrameSection() const { + bool doesDwarfRequireFrameSection() const { return DwarfRequiresFrameSection; } const char *getDwarfSectionOffsetDirective() const { |