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
This commit is contained in:
Anton Korobeynikov
2007-05-05 09:04:50 +00:00
parent 440168b00e
commit 2a07e2f4df
6 changed files with 37 additions and 42 deletions

View File

@@ -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 {