[llvm-commits] [llvm] r70379 - /llvm/trunk/include/llvm/Target/TargetAsmInfo.h
Sanjiv Gupta
sanjiv.gupta at microchip.com
Wed Apr 29 01:23:34 PDT 2009
Author: sgupta
Date: Wed Apr 29 03:23:18 2009
New Revision: 70379
URL: http://llvm.org/viewvc/llvm-project?rev=70379&view=rev
Log:
Add directive to declare external globals.
Modified:
llvm/trunk/include/llvm/Target/TargetAsmInfo.h
Modified: llvm/trunk/include/llvm/Target/TargetAsmInfo.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetAsmInfo.h?rev=70379&r1=70378&r2=70379&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetAsmInfo.h (original)
+++ llvm/trunk/include/llvm/Target/TargetAsmInfo.h Wed Apr 29 03:23:18 2009
@@ -384,6 +384,11 @@
/// 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 @@
const char *getGlobalDirective() const {
return GlobalDirective;
}
+ const char *getExternDirective() const {
+ return ExternDirective;
+ }
const char *getSetDirective() const {
return SetDirective;
}
More information about the llvm-commits
mailing list