mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-12-22 18:24:13 +00:00
Revert accidentally committed "MC: Allow targets to stop symbol name quoting"
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -155,9 +155,6 @@ protected:
|
||||
/// Defaults to false.
|
||||
bool AllowAtInName;
|
||||
|
||||
/// If this is true, symbol names will not attempt to be quoted when printed.
|
||||
bool NoSymbolNameQuoting;
|
||||
|
||||
/// This is true if data region markers should be printed as
|
||||
/// ".data_region/.end_data_region" directives. If false, use "$d/$a" labels
|
||||
/// instead.
|
||||
@@ -455,7 +452,6 @@ public:
|
||||
const char *getCode64Directive() const { return Code64Directive; }
|
||||
unsigned getAssemblerDialect() const { return AssemblerDialect; }
|
||||
bool doesAllowAtInName() const { return AllowAtInName; }
|
||||
bool noSymbolNameQuoting() const { return NoSymbolNameQuoting; }
|
||||
bool doesSupportDataRegionDirectives() const {
|
||||
return UseDataRegionDirectives;
|
||||
}
|
||||
|
||||
@@ -55,10 +55,6 @@ namespace llvm {
|
||||
/// "Lfoo" or ".foo".
|
||||
unsigned IsTemporary : 1;
|
||||
|
||||
/// True if the name should be quoted if "unacceptable" characters are used
|
||||
/// in the name.
|
||||
unsigned NoQuoting : 1;
|
||||
|
||||
/// \brief True if this symbol can be redefined.
|
||||
unsigned IsRedefinable : 1;
|
||||
|
||||
@@ -68,10 +64,9 @@ namespace llvm {
|
||||
private: // MCContext creates and uniques these.
|
||||
friend class MCExpr;
|
||||
friend class MCContext;
|
||||
MCSymbol(StringRef name, bool isTemporary, bool noQuoting)
|
||||
MCSymbol(StringRef name, bool isTemporary)
|
||||
: Name(name), Section(nullptr), Value(nullptr),
|
||||
IsTemporary(isTemporary), NoQuoting(noQuoting),
|
||||
IsRedefinable(false), IsUsed(false) {}
|
||||
IsTemporary(isTemporary), IsRedefinable(false), IsUsed(false) {}
|
||||
|
||||
MCSymbol(const MCSymbol&) = delete;
|
||||
void operator=(const MCSymbol&) = delete;
|
||||
|
||||
Reference in New Issue
Block a user