forked from OSchip/llvm-project
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:
parent
5026f4ba93
commit
0cc9d1b93b
|
@ -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;
|
||||
|
|
|
@ -81,8 +81,7 @@ TargetAsmInfo::TargetAsmInfo() :
|
|||
AbsoluteDebugSectionOffsets(false),
|
||||
AbsoluteEHSectionOffsets(false),
|
||||
HasLEB128(false),
|
||||
HasDotLoc(false),
|
||||
HasDotFile(false),
|
||||
HasDotLocAndDotFile(false),
|
||||
SupportsDebugInformation(false),
|
||||
SupportsExceptionHandling(false),
|
||||
DwarfRequiresFrameSection(true),
|
||||
|
|
Loading…
Reference in New Issue