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

aren't really usable without each other. 

llvm-svn: 42274
This commit is contained in:
Dan Gohman 2007-09-24 21:09:53 +00:00
parent 5026f4ba93
commit 0cc9d1b93b
2 changed files with 6 additions and 13 deletions

View File

@ -286,14 +286,11 @@ namespace llvm {
///
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
/// information.
bool SupportsDebugInformation;
@ -568,11 +565,8 @@ namespace llvm {
bool hasLEB128() const {
return HasLEB128;
}
bool hasDotLoc() const {
return HasDotLoc;
}
bool hasDotFile() const {
return HasDotFile;
bool hasDotLocAndDotFile() const {
return HasDotLocAndDotFile;
}
bool doesSupportDebugInformation() const {
return SupportsDebugInformation;

View File

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