forked from OSchip/llvm-project
isAbsoluteEHSectionOffsets always returns false, eliminate it
and substitute false at the one call site. llvm-svn: 100354
This commit is contained in:
parent
d03ac95d5d
commit
e239fa05cd
|
@ -227,10 +227,6 @@ namespace llvm {
|
|||
/// offsets for debug information.
|
||||
bool AbsoluteDebugSectionOffsets; // Defaults to false.
|
||||
|
||||
/// AbsoluteEHSectionOffsets - True if we should emit abolute section
|
||||
/// offsets for EH information. Defaults to false.
|
||||
bool AbsoluteEHSectionOffsets;
|
||||
|
||||
/// HasLEB128 - True if target asm supports leb128 directives.
|
||||
bool HasLEB128; // Defaults to false.
|
||||
|
||||
|
@ -392,9 +388,6 @@ namespace llvm {
|
|||
bool isAbsoluteDebugSectionOffsets() const {
|
||||
return AbsoluteDebugSectionOffsets;
|
||||
}
|
||||
bool isAbsoluteEHSectionOffsets() const {
|
||||
return AbsoluteEHSectionOffsets;
|
||||
}
|
||||
bool hasLEB128() const {
|
||||
return HasLEB128;
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ void DwarfPrinter::EmitSectionOffset(const MCSymbol *Label,
|
|||
bool IsSmall, bool isEH) {
|
||||
bool isAbsolute;
|
||||
if (isEH)
|
||||
isAbsolute = MAI->isAbsoluteEHSectionOffsets();
|
||||
isAbsolute = false;
|
||||
else
|
||||
isAbsolute = MAI->isAbsoluteDebugSectionOffsets();
|
||||
|
||||
|
|
|
@ -61,7 +61,6 @@ MCAsmInfo::MCAsmInfo() {
|
|||
HiddenVisibilityAttr = MCSA_Hidden;
|
||||
ProtectedVisibilityAttr = MCSA_Protected;
|
||||
AbsoluteDebugSectionOffsets = false;
|
||||
AbsoluteEHSectionOffsets = false;
|
||||
HasLEB128 = false;
|
||||
HasDotLocAndDotFile = false;
|
||||
SupportsDebugInformation = false;
|
||||
|
|
|
@ -32,7 +32,6 @@ MCAsmInfoCOFF::MCAsmInfoCOFF() {
|
|||
// Set up DWARF directives
|
||||
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
|
||||
AbsoluteDebugSectionOffsets = true;
|
||||
AbsoluteEHSectionOffsets = false;
|
||||
SupportsDebugInformation = true;
|
||||
DwarfSectionOffsetDirective = "\t.secrel32\t";
|
||||
HasMicrosoftFastStdCallMangling = true;
|
||||
|
|
Loading…
Reference in New Issue