forked from OSchip/llvm-project
MC: Remove vestigial PCSymbol field from AsmInfo
llvm-svn: 191362
This commit is contained in:
parent
32be0340f5
commit
1ccd2f2aee
|
@ -93,10 +93,6 @@ namespace llvm {
|
|||
/// this value. Factored out in .debug_frame and .debug_line.
|
||||
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
|
||||
/// instructions from each other when on the same line.
|
||||
const char *SeparatorString; // Defaults to ';'
|
||||
|
@ -425,9 +421,6 @@ namespace llvm {
|
|||
unsigned getMinInstAlignment() const {
|
||||
return MinInstAlignment;
|
||||
}
|
||||
const char *getPCSymbol() const {
|
||||
return PCSymbol;
|
||||
}
|
||||
const char *getSeparatorString() const {
|
||||
return SeparatorString;
|
||||
}
|
||||
|
|
|
@ -35,7 +35,6 @@ MCAsmInfo::MCAsmInfo() {
|
|||
LinkerRequiresNonEmptyDwarfLines = false;
|
||||
MaxInstLength = 4;
|
||||
MinInstAlignment = 1;
|
||||
PCSymbol = "$";
|
||||
SeparatorString = ";";
|
||||
CommentColumn = 40;
|
||||
CommentString = "#";
|
||||
|
|
|
@ -22,7 +22,6 @@ MSP430MCAsmInfo::MSP430MCAsmInfo(StringRef TT) {
|
|||
|
||||
PrivateGlobalPrefix = ".L";
|
||||
WeakRefDirective ="\t.weak\t";
|
||||
PCSymbol=".";
|
||||
CommentString = ";";
|
||||
|
||||
AlignmentIsInBytes = false;
|
||||
|
|
|
@ -22,7 +22,6 @@ PPCMCAsmInfoDarwin::PPCMCAsmInfoDarwin(bool is64Bit) {
|
|||
}
|
||||
IsLittleEndian = false;
|
||||
|
||||
PCSymbol = ".";
|
||||
CommentString = ";";
|
||||
ExceptionsType = ExceptionHandling::DwarfCFI;
|
||||
|
||||
|
@ -55,8 +54,6 @@ PPCLinuxMCAsmInfo::PPCLinuxMCAsmInfo(bool is64Bit) {
|
|||
// Debug Information
|
||||
SupportsDebugInformation = true;
|
||||
|
||||
PCSymbol = ".";
|
||||
|
||||
// Set up DWARF directives
|
||||
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
|
||||
MinInstAlignment = 4;
|
||||
|
|
|
@ -21,7 +21,6 @@ AMDGPUMCAsmInfo::AMDGPUMCAsmInfo(StringRef &TT) : MCAsmInfo() {
|
|||
HasStaticCtorDtorReferenceInStaticMode = false;
|
||||
LinkerRequiresNonEmptyDwarfLines = true;
|
||||
MaxInstLength = 16;
|
||||
PCSymbol = "$";
|
||||
SeparatorString = "\n";
|
||||
CommentColumn = 40;
|
||||
CommentString = ";";
|
||||
|
|
|
@ -19,7 +19,6 @@ SystemZMCAsmInfo::SystemZMCAsmInfo(StringRef TT) {
|
|||
IsLittleEndian = false;
|
||||
|
||||
CommentString = "#";
|
||||
PCSymbol = ".";
|
||||
GlobalPrefix = "";
|
||||
PrivateGlobalPrefix = ".L";
|
||||
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
|
||||
// wasn't always case preserving or something.
|
||||
CommentString = "##";
|
||||
PCSymbol = ".";
|
||||
|
||||
SupportsDebugInformation = true;
|
||||
UseDataRegionDirectives = MarkedJTDataRegions;
|
||||
|
@ -92,7 +91,6 @@ X86ELFMCAsmInfo::X86ELFMCAsmInfo(const Triple &T) {
|
|||
|
||||
PrivateGlobalPrefix = ".L";
|
||||
WeakRefDirective = "\t.weak\t";
|
||||
PCSymbol = ".";
|
||||
|
||||
// Set up DWARF directives
|
||||
HasLEB128 = true; // Target asm supports leb128 directives (little-endian)
|
||||
|
|
Loading…
Reference in New Issue