Home
last modified time | relevance | path

Searched refs:RefState (Results 1 – 7 of 7) sorted by relevance

/src/contrib/llvm-project/lld/MachO/
H A DSymbols.h205 enum class RefState : uint8_t { Unreferenced = 0, Weak = 1, Strong = 2 }; enum
209 Undefined(StringRefZ name, InputFile *file, RefState refState, in Undefined()
213 assert(refState != RefState::Unreferenced); in Undefined()
216 bool isWeakRef() const override { return refState == RefState::Weak; } in isWeakRef()
220 RefState refState : 2;
259 RefState refState, bool isTlv) in DylibSymbol()
262 if (file && refState > RefState::Unreferenced) in DylibSymbol()
271 return refState == RefState::Weak || in isWeakRef()
274 bool isReferenced() const { return refState != RefState::Unreferenced; } in isReferenced()
286 RefState getRefState() const { return refState; } in getRefState()
[all …]
H A DSymbolTable.cpp225 RefState refState = isWeakRef ? RefState::Weak : RefState::Strong; in addUndefined()
264 RefState refState = RefState::Unreferenced; in addDylib()
303 if (dysym->getRefState() != RefState::Unreferenced) in addLazyArchive()
321 if (dysym->getRefState() != RefState::Unreferenced) in addLazyObject()
H A DInputFiles.h49 enum class RefState : uint8_t;
248 RefState refState;
H A DLTO.cpp150 RefState::Strong, /*wasBitcodeSymbol=*/true); in add()
H A DInputFiles.cpp1688 : InputFile(DylibKind, mb), refState(RefState::Unreferenced), in DylibFile()
1863 : InputFile(DylibKind, interface), refState(RefState::Unreferenced), in DylibFile()
1948 : InputFile(DylibKind, MemoryBufferRef{}), refState(RefState::Unreferenced), in DylibFile()
H A DWriter.cpp915 dylibFile->forceWeakImport || dylibFile->refState == RefState::Weak in createLoadCommands()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp137 class RefState { class
159 RefState(Kind k, const Stmt *s, AllocationFamily family) in RefState() function in __anon63f02cb00211::RefState
173 bool operator==(const RefState &X) const { in operator ==()
177 static RefState getAllocated(AllocationFamily family, const Stmt *s) { in getAllocated()
178 return RefState(Allocated, s, family); in getAllocated()
180 static RefState getAllocatedOfSizeZero(const RefState *RS) { in getAllocatedOfSizeZero()
181 return RefState(AllocatedOfSizeZero, RS->getStmt(), in getAllocatedOfSizeZero()
184 static RefState getReleased(AllocationFamily family, const Stmt *s) { in getReleased()
185 return RefState(Released, s, family); in getReleased()
187 static RefState getRelinquished(AllocationFamily family, const Stmt *s) { in getRelinquished()
[all …]