mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-21 16:31:16 +00:00
isAbsoluteEHSectionOffsets always returns false, eliminate it
and substitute false at the one call site. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100354 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e0103f03f0
commit
0887fa0b8c
@ -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
Block a user