Merge hasDotLoc and hasDotFile into hasDotLocAndDotFile since .loc and .file

aren't really usable without each other. 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2007-09-24 21:09:53 +00:00
parent 6b92942c9c
commit 72252732c8
2 changed files with 6 additions and 13 deletions

View File

@ -286,13 +286,10 @@ namespace llvm {
/// ///
bool HasLEB128; // Defaults to false. bool HasLEB128; // Defaults to false.
/// hasDotLoc - True if target asm supports .loc directives. /// hasDotLocAndDotFile - True if target asm supports .loc and .file
/// directives for emitting debugging information.
/// ///
bool HasDotLoc; // Defaults to false. bool HasDotLocAndDotFile; // Defaults to false.
/// HasDotFile - True if target asm supports .file directives.
///
bool HasDotFile; // Defaults to false.
/// SupportsDebugInformation - True if target supports emission of debugging /// SupportsDebugInformation - True if target supports emission of debugging
/// information. /// information.
@ -568,11 +565,8 @@ namespace llvm {
bool hasLEB128() const { bool hasLEB128() const {
return HasLEB128; return HasLEB128;
} }
bool hasDotLoc() const { bool hasDotLocAndDotFile() const {
return HasDotLoc; return HasDotLocAndDotFile;
}
bool hasDotFile() const {
return HasDotFile;
} }
bool doesSupportDebugInformation() const { bool doesSupportDebugInformation() const {
return SupportsDebugInformation; return SupportsDebugInformation;

View File

@ -81,8 +81,7 @@ TargetAsmInfo::TargetAsmInfo() :
AbsoluteDebugSectionOffsets(false), AbsoluteDebugSectionOffsets(false),
AbsoluteEHSectionOffsets(false), AbsoluteEHSectionOffsets(false),
HasLEB128(false), HasLEB128(false),
HasDotLoc(false), HasDotLocAndDotFile(false),
HasDotFile(false),
SupportsDebugInformation(false), SupportsDebugInformation(false),
SupportsExceptionHandling(false), SupportsExceptionHandling(false),
DwarfRequiresFrameSection(true), DwarfRequiresFrameSection(true),