mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-02 07:11:49 +00:00
Add directive to declare external globals.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70379 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
96f3fd9a7f
commit
b27fa0afe2
@ -384,6 +384,11 @@ namespace llvm {
|
||||
/// GlobalDirective - This is the directive used to declare a global entity.
|
||||
///
|
||||
const char *GlobalDirective; // Defaults to NULL.
|
||||
|
||||
/// ExternDirective - This is the directive used to declare external
|
||||
/// globals.
|
||||
///
|
||||
const char *ExternDirective; // Defaults to NULL.
|
||||
|
||||
/// SetDirective - This is the name of a directive that can be used to tell
|
||||
/// the assembler to set the value of a variable to some expression.
|
||||
@ -801,6 +806,9 @@ namespace llvm {
|
||||
const char *getGlobalDirective() const {
|
||||
return GlobalDirective;
|
||||
}
|
||||
const char *getExternDirective() const {
|
||||
return ExternDirective;
|
||||
}
|
||||
const char *getSetDirective() const {
|
||||
return SetDirective;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user