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/MCContext.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/MCContext.h')
-rw-r--r-- | contrib/libs/llvm12/include/llvm/MC/MCContext.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/contrib/libs/llvm12/include/llvm/MC/MCContext.h b/contrib/libs/llvm12/include/llvm/MC/MCContext.h index c8297d6088..52ceb23ff5 100644 --- a/contrib/libs/llvm12/include/llvm/MC/MCContext.h +++ b/contrib/libs/llvm12/include/llvm/MC/MCContext.h @@ -29,7 +29,7 @@ #include "llvm/BinaryFormat/XCOFF.h" #include "llvm/MC/MCAsmMacro.h" #include "llvm/MC/MCDwarf.h" -#include "llvm/MC/MCPseudoProbe.h" +#include "llvm/MC/MCPseudoProbe.h" #include "llvm/MC/MCSubtargetInfo.h" #include "llvm/MC/MCTargetOptions.h" #include "llvm/MC/SectionKind.h" @@ -105,7 +105,7 @@ namespace llvm { SpecificBumpPtrAllocator<MCSectionMachO> MachOAllocator; SpecificBumpPtrAllocator<MCSectionWasm> WasmAllocator; SpecificBumpPtrAllocator<MCSectionXCOFF> XCOFFAllocator; - SpecificBumpPtrAllocator<MCInst> MCInstAllocator; + SpecificBumpPtrAllocator<MCInst> MCInstAllocator; /// Bindings of names to symbols. SymbolTable Symbols; @@ -207,9 +207,9 @@ namespace llvm { /// The Compile Unit ID that we are currently processing. unsigned DwarfCompileUnitID = 0; - /// A collection of MCPseudoProbe in the current module - MCPseudoProbeTable PseudoProbeTable; - + /// A collection of MCPseudoProbe in the current module + MCPseudoProbeTable PseudoProbeTable; + // Sections are differentiated by the quadruple (section_name, group_name, // unique_id, link_to_symbol_name). Sections sharing the same quadruple are // combined into one section. @@ -392,11 +392,11 @@ namespace llvm { /// @} - /// \name McInst Management - - /// Create and return a new MC instruction. - MCInst *createMCInst(); - + /// \name McInst Management + + /// Create and return a new MC instruction. + MCInst *createMCInst(); + /// \name Symbol Management /// @{ @@ -404,16 +404,16 @@ namespace llvm { /// unspecified name. MCSymbol *createLinkerPrivateTempSymbol(); - /// Create a temporary symbol with a unique name. The name will be omitted - /// in the symbol table if UseNamesOnTempLabels is false (default except - /// MCAsmStreamer). The overload without Name uses an unspecified name. - MCSymbol *createTempSymbol(); - MCSymbol *createTempSymbol(const Twine &Name, bool AlwaysAddSuffix = true); + /// Create a temporary symbol with a unique name. The name will be omitted + /// in the symbol table if UseNamesOnTempLabels is false (default except + /// MCAsmStreamer). The overload without Name uses an unspecified name. + MCSymbol *createTempSymbol(); + MCSymbol *createTempSymbol(const Twine &Name, bool AlwaysAddSuffix = true); - /// Create a temporary symbol with a unique name whose name cannot be - /// omitted in the symbol table. This is rarely used. - MCSymbol *createNamedTempSymbol(); - MCSymbol *createNamedTempSymbol(const Twine &Name); + /// Create a temporary symbol with a unique name whose name cannot be + /// omitted in the symbol table. This is rarely used. + MCSymbol *createNamedTempSymbol(); + MCSymbol *createNamedTempSymbol(const Twine &Name); /// Create the definition of a directional local symbol for numbered label /// (used for "1:" definitions). @@ -579,8 +579,8 @@ namespace llvm { MCSectionXCOFF *getXCOFFSection(StringRef Section, XCOFF::StorageMappingClass MappingClass, - XCOFF::SymbolType CSectType, SectionKind K, - bool MultiSymbolsAllowed = false, + XCOFF::SymbolType CSectType, SectionKind K, + bool MultiSymbolsAllowed = false, const char *BeginSymName = nullptr); // Create and save a copy of STI and return a reference to the copy. @@ -764,8 +764,8 @@ namespace llvm { } void undefineMacro(StringRef Name) { MacroMap.erase(Name); } - - MCPseudoProbeTable &getMCPseudoProbeTable() { return PseudoProbeTable; } + + MCPseudoProbeTable &getMCPseudoProbeTable() { return PseudoProbeTable; } }; } // end namespace llvm |