document that BSSSection can be null.

Add new ZeroFillDirective directive.

llvm-svn: 33301
This commit is contained in:
Chris Lattner 2007-01-17 17:42:30 +00:00
parent 716efbfc63
commit 2e38168e4a
1 changed files with 9 additions and 1 deletions

View File

@ -39,10 +39,15 @@ namespace llvm {
///
const char *DataSection; // Defaults to ".data".
/// BSSSection - Section directive for uninitialized data.
/// BSSSection - Section directive for uninitialized data. Null if this
/// target doesn't support a BSS section.
///
const char *BSSSection; // Default to ".bss".
/// ZeroFillDirective - Directive for emitting a global to the ZeroFill
/// section on this target. Null if this target doesn't support zerofill.
const char *ZeroFillDirective; // Default is null.
/// AddressSize - Size of addresses used in file.
///
unsigned AddressSize; // Defaults to 4.
@ -320,6 +325,9 @@ namespace llvm {
const char *getBSSSection() const {
return BSSSection;
}
const char *getZeroFillDirective() const {
return ZeroFillDirective;
}
unsigned getAddressSize() const {
return AddressSize;
}