22 return Name ==
"<unnamed-tag>" || Name ==
"__unnamed" ||
36 if (!ForwardRef && !Scoped && !IsAnon)
38 if (!ForwardRef && HasUniqueName && !IsAnon)
68 return getHashForUdt<ClassRecord>(Rec);
70 return getHashForUdt<UnionRecord>(Rec);
72 return getHashForUdt<EnumRecord>(Rec);
75 return getSourceLineHash<UdtSourceLineRecord>(Rec);
76 case LF_UDT_MOD_SRC_LINE:
77 return getSourceLineHash<UdtModSourceLineRecord>(Rec);
uint32_t hashBufferV8(ArrayRef< uint8_t > Data)
Compute iterated dominance frontiers using a linear time algorithm.
void write32le(void *P, uint32_t V)
static bool isAnonymous(StringRef Name)
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE bool endswith(StringRef Suffix) const
Check if this string ends with the given Suffix.
StringRef getName() const
static Expected< uint32_t > getSourceLineHash(const CVType &Rec)
Tagged union holding either a T or a Error.
ClassOptions getOptions() const
ArrayRef< uint8_t > data() const
Expected< uint32_t > hashTypeRecord(const llvm::codeview::CVType &Type)
uint32_t hashStringV1(StringRef Str)
size_t size() const
size - Get the array size.
static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")
StringRef getUniqueName() const
static Error deserializeAs(CVType &CVT, T &Record)
static uint32_t getHashForUdt(const TagRecord &Rec, ArrayRef< uint8_t > FullRecord)
void update(ArrayRef< char > Data)
StringRef - Represent a constant reference to a string, i.e.