LLVM 22.0.0git
ELFAttributes.h File Reference
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.h"
#include <optional>

Go to the source code of this file.

Classes

struct  llvm::TagNameItem
struct  llvm::BuildAttributeItem
struct  llvm::BuildAttributeSubSection
struct  llvm::SubsectionAndTagToTagName

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::ELFAttrs

Typedefs

using llvm::TagNameMap = ArrayRef<TagNameItem>

Enumerations

enum  llvm::ELFAttrs::AttrType : unsigned { llvm::ELFAttrs::File = 1 , llvm::ELFAttrs::Section = 2 , llvm::ELFAttrs::Symbol = 3 }
enum  llvm::ELFAttrs::AttrMagic { llvm::ELFAttrs::Format_Version = 0x41 }

Functions

LLVM_ABI StringRef llvm::ELFAttrs::attrTypeAsString (unsigned attr, TagNameMap tagNameMap, bool hasTagPrefix=true)
LLVM_ABI std::optional< unsignedllvm::ELFAttrs::attrTypeFromString (StringRef tag, TagNameMap tagNameMap)