diff options
| author | Chris Lattner <sabre@nondot.org> | 2010-01-19 04:48:20 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2010-01-19 04:48:20 +0000 |
| commit | dccbb28bca493c1998048f3ae4f52c684fdc9bed (patch) | |
| tree | 357f46c3f222598cb127f41bc1039e9e8f18e130 /llvm/include | |
| parent | 6a160517a0690fc9ddda4511174e08d8d5557821 (diff) | |
| download | bcm5719-llvm-dccbb28bca493c1998048f3ae4f52c684fdc9bed.tar.gz bcm5719-llvm-dccbb28bca493c1998048f3ae4f52c684fdc9bed.zip | |
add a bool for whether .lcomm takes an alignment instead of basing this on "isdarwin".
llvm-svn: 93852
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/MC/MCAsmInfo.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm/MC/MCAsmInfo.h b/llvm/include/llvm/MC/MCAsmInfo.h index 1368e1f4249..a340a121384 100644 --- a/llvm/include/llvm/MC/MCAsmInfo.h +++ b/llvm/include/llvm/MC/MCAsmInfo.h @@ -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; } |

