summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-05-05 09:04:50 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-05-05 09:04:50 +0000
commit2a07e2f4df8010bbb07591a097b5e55101ed4a96 (patch)
tree5d85e8e65348a29e71c4785505639e005030bffb /include
parent440168b00e9739760ae7e1e49191bdfa0ffee4cf (diff)
downloadllvm-2a07e2f4df8010bbb07591a097b5e55101ed4a96.tar.gz
llvm-2a07e2f4df8010bbb07591a097b5e55101ed4a96.tar.bz2
llvm-2a07e2f4df8010bbb07591a097b5e55101ed4a96.tar.xz
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')
-rw-r--r--include/llvm/Target/TargetAsmInfo.h16
1 files changed, 12 insertions, 4 deletions
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 {