mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Remove another duplicated variable. We only need one to tell us if the linker
knows dwarf or not. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -319,10 +319,6 @@ namespace llvm {
|
|||||||
/// uses relocations for references to other .debug_* sections.
|
/// uses relocations for references to other .debug_* sections.
|
||||||
bool DwarfUsesRelocationsAcrossSections;
|
bool DwarfUsesRelocationsAcrossSections;
|
||||||
|
|
||||||
/// DwarfUsesRelocationsForStringPool - True if this Dwarf output must use
|
|
||||||
/// relocations to refer to entries in the string pool.
|
|
||||||
bool DwarfUsesRelocationsForStringPool;
|
|
||||||
|
|
||||||
/// DwarfRegNumForCFI - True if dwarf register numbers are printed
|
/// DwarfRegNumForCFI - True if dwarf register numbers are printed
|
||||||
/// instead of symbolic register names in .cfi_* directives.
|
/// instead of symbolic register names in .cfi_* directives.
|
||||||
bool DwarfRegNumForCFI; // Defaults to false;
|
bool DwarfRegNumForCFI; // Defaults to false;
|
||||||
@@ -548,9 +544,6 @@ namespace llvm {
|
|||||||
bool doesDwarfUseRelocationsAcrossSections() const {
|
bool doesDwarfUseRelocationsAcrossSections() const {
|
||||||
return DwarfUsesRelocationsAcrossSections;
|
return DwarfUsesRelocationsAcrossSections;
|
||||||
}
|
}
|
||||||
bool doesDwarfUseRelocationsForStringPool() const {
|
|
||||||
return DwarfUsesRelocationsForStringPool;
|
|
||||||
}
|
|
||||||
bool useDwarfRegNumForCFI() const {
|
bool useDwarfRegNumForCFI() const {
|
||||||
return DwarfRegNumForCFI;
|
return DwarfRegNumForCFI;
|
||||||
}
|
}
|
||||||
|
@@ -613,7 +613,7 @@ bool AsmPrinter::needsSEHMoves() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool AsmPrinter::needsRelocationsForDwarfStringPool() const {
|
bool AsmPrinter::needsRelocationsForDwarfStringPool() const {
|
||||||
return MAI->doesDwarfUseRelocationsForStringPool();
|
return MAI->doesDwarfUseRelocationsAcrossSections();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AsmPrinter::emitPrologLabel(const MachineInstr &MI) {
|
void AsmPrinter::emitPrologLabel(const MachineInstr &MI) {
|
||||||
|
@@ -86,7 +86,6 @@ MCAsmInfo::MCAsmInfo() {
|
|||||||
DwarfUsesInlineInfoSection = false;
|
DwarfUsesInlineInfoSection = false;
|
||||||
DwarfSectionOffsetDirective = 0;
|
DwarfSectionOffsetDirective = 0;
|
||||||
DwarfUsesRelocationsAcrossSections = true;
|
DwarfUsesRelocationsAcrossSections = true;
|
||||||
DwarfUsesRelocationsForStringPool = true;
|
|
||||||
DwarfRegNumForCFI = false;
|
DwarfRegNumForCFI = false;
|
||||||
HasMicrosoftFastStdCallMangling = false;
|
HasMicrosoftFastStdCallMangling = false;
|
||||||
}
|
}
|
||||||
|
@@ -60,5 +60,4 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
|
|||||||
HasSymbolResolver = true;
|
HasSymbolResolver = true;
|
||||||
|
|
||||||
DwarfUsesRelocationsAcrossSections = false;
|
DwarfUsesRelocationsAcrossSections = false;
|
||||||
DwarfUsesRelocationsForStringPool = false;
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user