mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
add a bool for whether .lcomm takes an alignment instead of basing this on "isdarwin".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -202,6 +202,10 @@ 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.
|
||||
@@ -410,6 +414,9 @@ namespace llvm {
|
||||
bool getCOMMDirectiveTakesAlignment() const {
|
||||
return COMMDirectiveTakesAlignment;
|
||||
}
|
||||
bool getLCOMMDirectiveTakesAlignment() const {
|
||||
return LCOMMDirectiveTakesAlignment;
|
||||
}
|
||||
bool hasDotTypeDotSizeDirective() const {
|
||||
return HasDotTypeDotSizeDirective;
|
||||
}
|
||||
|
Reference in New Issue
Block a user