summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-19 06:25:51 +0000
committerChris Lattner <sabre@nondot.org>2010-01-19 06:25:51 +0000
commitcd2915e46769317c8e2393bb6d2a2aed58036f45 (patch)
tree507ecc4dfeadbe722963d069da86989b0ac3ab92 /llvm/include
parentab9cd3e132a86f99c8784c6025c6f55bb5cf2612 (diff)
downloadbcm5719-llvm-cd2915e46769317c8e2393bb6d2a2aed58036f45.tar.gz
bcm5719-llvm-cd2915e46769317c8e2393bb6d2a2aed58036f45.zip
stop using the .lcomm pseudoop on darwin, instead, directly use the
.zerofill directive. Streamerize its generation. llvm-svn: 93868
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/MC/MCAsmInfo.h9
-rw-r--r--llvm/include/llvm/Target/TargetLoweringObjectFile.h1
2 files changed, 2 insertions, 8 deletions
diff --git a/llvm/include/llvm/MC/MCAsmInfo.h b/llvm/include/llvm/MC/MCAsmInfo.h
index 22f147587cd..82a47874aee 100644
--- a/llvm/include/llvm/MC/MCAsmInfo.h
+++ b/llvm/include/llvm/MC/MCAsmInfo.h
@@ -192,7 +192,7 @@ namespace llvm {
/// LCOMMDirective - This is the name of a directive (if supported) that can
/// be used to efficiently declare a local (internal) block of zero
/// initialized data in the .bss/.data section. The syntax expected is:
- /// @verbatim <LCOMMDirective> SYMBOLNAME LENGTHINBYTES, ALIGNMENT
+ /// @verbatim <LCOMMDirective> SYMBOLNAME LENGTHINBYTES
/// @endverbatim
const char *LCOMMDirective; // Defaults to null.
@@ -202,10 +202,6 @@ namespace llvm {
/// argument that specifies the alignment of the declaration.
bool COMMDirectiveTakesAlignment; // Defaults to true.
- /// LCOMMDirectiveTakesAlignment - True if LCOMMDirective takes a third
- /// argument that specifies the alignment of the declaration.
- bool LCOMMDirectiveTakesAlignment; // Defaults to false.
-
/// HasDotTypeDotSizeDirective - True if the target has .type and .size
/// directives, this is true for most ELF targets.
bool HasDotTypeDotSizeDirective; // Defaults to true.
@@ -418,9 +414,6 @@ namespace llvm {
bool getCOMMDirectiveTakesAlignment() const {
return COMMDirectiveTakesAlignment;
}
- bool getLCOMMDirectiveTakesAlignment() const {
- return LCOMMDirectiveTakesAlignment;
- }
bool hasDotTypeDotSizeDirective() const {
return HasDotTypeDotSizeDirective;
}
diff --git a/llvm/include/llvm/Target/TargetLoweringObjectFile.h b/llvm/include/llvm/Target/TargetLoweringObjectFile.h
index 304518abe78..d3e5cf2119a 100644
--- a/llvm/include/llvm/Target/TargetLoweringObjectFile.h
+++ b/llvm/include/llvm/Target/TargetLoweringObjectFile.h
@@ -259,6 +259,7 @@ class TargetLoweringObjectFileMachO : public TargetLoweringObjectFile {
const MCSection *ConstDataSection;
const MCSection *DataCoalSection;
const MCSection *DataCommonSection;
+ const MCSection *DataBSSSection;
const MCSection *FourByteConstantSection;
const MCSection *EightByteConstantSection;
const MCSection *SixteenByteConstantSection;
OpenPOWER on IntegriCloud