mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-10 20:33:15 +00:00
MC: Remove vestigial PCSymbol field from AsmInfo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191362 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
63799f6feb
commit
8ba3f9c900
@ -93,10 +93,6 @@ namespace llvm {
|
|||||||
/// this value. Factored out in .debug_frame and .debug_line.
|
/// this value. Factored out in .debug_frame and .debug_line.
|
||||||
unsigned MinInstAlignment; // Defaults to 1.
|
unsigned MinInstAlignment; // Defaults to 1.
|
||||||
|
|
||||||
/// PCSymbol - The symbol used to represent the current PC. Used in PC
|
|
||||||
/// relative expressions.
|
|
||||||
const char *PCSymbol; // Defaults to "$".
|
|
||||||
|
|
||||||
/// SeparatorString - This string, if specified, is used to separate
|
/// SeparatorString - This string, if specified, is used to separate
|
||||||
/// instructions from each other when on the same line.
|
/// instructions from each other when on the same line.
|
||||||
const char *SeparatorString; // Defaults to ';'
|
const char *SeparatorString; // Defaults to ';'
|
||||||
@ -425,9 +421,6 @@ namespace llvm {
|
|||||||
unsigned getMinInstAlignment() const {
|
unsigned getMinInstAlignment() const {
|
||||||
return MinInstAlignment;
|
return MinInstAlignment;
|
||||||
}
|
}
|
||||||
const char *getPCSymbol() const {
|
|
||||||
return PCSymbol;
|
|
||||||
}
|
|
||||||
const char *getSeparatorString() const {
|
const char *getSeparatorString() const {
|
||||||
return SeparatorString;
|
return SeparatorString;
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,6 @@ MCAsmInfo::MCAsmInfo() {
|
|||||||
LinkerRequiresNonEmptyDwarfLines = false;
|
LinkerRequiresNonEmptyDwarfLines = false;
|
||||||
MaxInstLength = 4;
|
MaxInstLength = 4;
|
||||||
MinInstAlignment = 1;
|
MinInstAlignment = 1;
|
||||||
PCSymbol = "$";
|
|
||||||
SeparatorString = ";";
|
SeparatorString = ";";
|
||||||
CommentColumn = 40;
|
CommentColumn = 40;
|
||||||
CommentString = "#";
|
CommentString = "#";
|
||||||
|
@ -22,7 +22,6 @@ MSP430MCAsmInfo::MSP430MCAsmInfo(StringRef TT) {
|
|||||||
|
|
||||||
PrivateGlobalPrefix = ".L";
|
PrivateGlobalPrefix = ".L";
|
||||||
WeakRefDirective ="\t.weak\t";
|
WeakRefDirective ="\t.weak\t";
|
||||||
PCSymbol=".";
|
|
||||||
CommentString = ";";
|
CommentString = ";";
|
||||||
|
|
||||||
AlignmentIsInBytes = false;
|
AlignmentIsInBytes = false;
|
||||||
|
@ -22,7 +22,6 @@ PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
|
|||||||
}
|
}
|
||||||
IsLittleEndian = false;
|
IsLittleEndian = false;
|
||||||
|
|
||||||
PCSymbol = ".";
|
|
||||||
CommentString = ";";
|
CommentString = ";";
|
||||||
ExceptionsType = ExceptionHandling::DwarfCFI;
|
ExceptionsType = ExceptionHandling::DwarfCFI;
|
||||||
|
|
||||||
@ -55,8 +54,6 @@ PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) {
|
|||||||
// Debug Information
|
// Debug Information
|
||||||
SupportsDebugInformation = true;
|
SupportsDebugInformation = true;
|
||||||
|
|
||||||
PCSymbol = ".";
|
|
||||||
|
|
||||||
// Set up DWARF directives
|
// Set up DWARF directives
|
||||||
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
|
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
|
||||||
MinInstAlignment = 4;
|
MinInstAlignment = 4;
|
||||||
|
@ -21,7 +21,6 @@ AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfo() {
|
|||||||
HasStaticCtorDtorReferenceInStaticMode = false;
|
HasStaticCtorDtorReferenceInStaticMode = false;
|
||||||
LinkerRequiresNonEmptyDwarfLines = true;
|
LinkerRequiresNonEmptyDwarfLines = true;
|
||||||
MaxInstLength = 16;
|
MaxInstLength = 16;
|
||||||
PCSymbol = "$";
|
|
||||||
SeparatorString = "\n";
|
SeparatorString = "\n";
|
||||||
CommentColumn = 40;
|
CommentColumn = 40;
|
||||||
CommentString = ";";
|
CommentString = ";";
|
||||||
|
@ -19,7 +19,6 @@ SystemZMCAsmInfo::SystemZMCAsmInfo(StringRef TT) {
|
|||||||
IsLittleEndian = false;
|
IsLittleEndian = false;
|
||||||
|
|
||||||
CommentString = "#";
|
CommentString = "#";
|
||||||
PCSymbol = ".";
|
|
||||||
GlobalPrefix = "";
|
GlobalPrefix = "";
|
||||||
PrivateGlobalPrefix = ".L";
|
PrivateGlobalPrefix = ".L";
|
||||||
WeakRefDirective = "\t.weak\t";
|
WeakRefDirective = "\t.weak\t";
|
||||||
|
@ -59,7 +59,6 @@ X86MCAsmInfoDarwin::X86MCAsmInfoDarwin(const Triple &T) {
|
|||||||
// for .S files on other systems. Perhaps this is because the file system
|
// for .S files on other systems. Perhaps this is because the file system
|
||||||
// wasn't always case preserving or something.
|
// wasn't always case preserving or something.
|
||||||
CommentString = "##";
|
CommentString = "##";
|
||||||
PCSymbol = ".";
|
|
||||||
|
|
||||||
SupportsDebugInformation = true;
|
SupportsDebugInformation = true;
|
||||||
UseDataRegionDirectives = MarkedJTDataRegions;
|
UseDataRegionDirectives = MarkedJTDataRegions;
|
||||||
@ -92,7 +91,6 @@ X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) {
|
|||||||
|
|
||||||
PrivateGlobalPrefix = ".L";
|
PrivateGlobalPrefix = ".L";
|
||||||
WeakRefDirective = "\t.weak\t";
|
WeakRefDirective = "\t.weak\t";
|
||||||
PCSymbol = ".";
|
|
||||||
|
|
||||||
// Set up DWARF directives
|
// Set up DWARF directives
|
||||||
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
|
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user