mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Allow symbols to start from the digit if target requests it. This allows, e.g. pinning
variables to specified absolute address. Make use of this feature for MSP430. This unbreaks PR4776. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -95,6 +95,10 @@ namespace llvm {
|
||||
/// AllowQuotesInName - This is true if the assembler allows for complex
|
||||
/// symbol names to be surrounded in quotes. This defaults to false.
|
||||
bool AllowQuotesInName;
|
||||
|
||||
/// AllowNameToStartWithDigit - This is true if the assembler allows symbol
|
||||
/// names to start with a digit (e.g., "0x0021"). This defaults to false.
|
||||
bool AllowNameToStartWithDigit;
|
||||
|
||||
//===--- Data Emission Directives -------------------------------------===//
|
||||
|
||||
@@ -354,6 +358,9 @@ namespace llvm {
|
||||
bool doesAllowQuotesInName() const {
|
||||
return AllowQuotesInName;
|
||||
}
|
||||
bool doesAllowNameToStartWithDigit() const {
|
||||
return AllowNameToStartWithDigit;
|
||||
}
|
||||
const char *getZeroDirective() const {
|
||||
return ZeroDirective;
|
||||
}
|
||||
|
Reference in New Issue
Block a user