diff options
author | shadchin <shadchin@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:30 +0300 |
commit | 2598ef1d0aee359b4b6d5fdd1758916d5907d04f (patch) | |
tree | 012bb94d777798f1f56ac1cec429509766d05181 /contrib/libs/llvm12/include/llvm/MC/MCSectionXCOFF.h | |
parent | 6751af0b0c1b952fede40b19b71da8025b5d8bcf (diff) | |
download | ydb-2598ef1d0aee359b4b6d5fdd1758916d5907d04f.tar.gz |
Restoring authorship annotation for <shadchin@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/llvm12/include/llvm/MC/MCSectionXCOFF.h')
-rw-r--r-- | contrib/libs/llvm12/include/llvm/MC/MCSectionXCOFF.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/contrib/libs/llvm12/include/llvm/MC/MCSectionXCOFF.h b/contrib/libs/llvm12/include/llvm/MC/MCSectionXCOFF.h index 8382900211..9ced2fcb26 100644 --- a/contrib/libs/llvm12/include/llvm/MC/MCSectionXCOFF.h +++ b/contrib/libs/llvm12/include/llvm/MC/MCSectionXCOFF.h @@ -43,21 +43,21 @@ class MCSectionXCOFF final : public MCSection { XCOFF::SymbolType Type; MCSymbolXCOFF *const QualName; StringRef SymbolTableName; - bool MultiSymbolsAllowed; + bool MultiSymbolsAllowed; static constexpr unsigned DefaultAlignVal = 4; MCSectionXCOFF(StringRef Name, XCOFF::StorageMappingClass SMC, - XCOFF::SymbolType ST, SectionKind K, MCSymbolXCOFF *QualName, - MCSymbol *Begin, StringRef SymbolTableName, - bool MultiSymbolsAllowed) + XCOFF::SymbolType ST, SectionKind K, MCSymbolXCOFF *QualName, + MCSymbol *Begin, StringRef SymbolTableName, + bool MultiSymbolsAllowed) : MCSection(SV_XCOFF, Name, K, Begin), MappingClass(SMC), Type(ST), - QualName(QualName), SymbolTableName(SymbolTableName), - MultiSymbolsAllowed(MultiSymbolsAllowed) { + QualName(QualName), SymbolTableName(SymbolTableName), + MultiSymbolsAllowed(MultiSymbolsAllowed) { assert((ST == XCOFF::XTY_SD || ST == XCOFF::XTY_CM || ST == XCOFF::XTY_ER) && "Invalid or unhandled type for csect."); assert(QualName != nullptr && "QualName is needed."); QualName->setRepresentedCsect(this); - QualName->setStorageClass(XCOFF::C_HIDEXT); + QualName->setStorageClass(XCOFF::C_HIDEXT); // A csect is 4 byte aligned by default, except for undefined symbol csects. if (Type != XCOFF::XTY_ER) setAlignment(Align(DefaultAlignVal)); @@ -73,9 +73,9 @@ public: } XCOFF::StorageMappingClass getMappingClass() const { return MappingClass; } - XCOFF::StorageClass getStorageClass() const { - return QualName->getStorageClass(); - } + XCOFF::StorageClass getStorageClass() const { + return QualName->getStorageClass(); + } XCOFF::SymbolType getCSectType() const { return Type; } MCSymbolXCOFF *getQualNameSymbol() const { return QualName; } @@ -85,7 +85,7 @@ public: bool UseCodeAlign() const override; bool isVirtualSection() const override; StringRef getSymbolTableName() const { return SymbolTableName; } - bool isMultiSymbolsAllowed() const { return MultiSymbolsAllowed; } + bool isMultiSymbolsAllowed() const { return MultiSymbolsAllowed; } }; } // end namespace llvm |