From 2a07e2f4df8010bbb07591a097b5e55101ed4a96 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Sat, 5 May 2007 09:04:50 +0000 Subject: 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 --- include/llvm/Target/TargetAsmInfo.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 0a9047beec..7e96c095da 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 { -- cgit v1.2.3