Searched refs:RefState (Results 1 – 7 of 7) sorted by relevance
| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | Symbols.h | 202 enum class RefState : uint8_t { Unreferenced = 0, Weak = 1, Strong = 2 }; enum 206 Undefined(StringRefZ name, InputFile *file, RefState refState, in Undefined() 210 assert(refState != RefState::Unreferenced); in Undefined() 213 bool isWeakRef() const override { return refState == RefState::Weak; } in isWeakRef() 217 RefState refState : 2; 256 RefState refState, bool isTlv) in DylibSymbol() 259 if (file && refState > RefState::Unreferenced) in DylibSymbol() 268 return refState == RefState::Weak || in isWeakRef() 271 bool isReferenced() const { return refState != RefState::Unreferenced; } in isReferenced() 283 RefState getRefState() const { return refState; } in getRefState() [all …]
|
| H A D | SymbolTable.cpp | 147 RefState refState = isWeakRef ? RefState::Weak : RefState::Strong; in addUndefined() 186 RefState refState = RefState::Unreferenced; in addDylib() 225 if (dysym->getRefState() != RefState::Unreferenced) in addLazyArchive() 243 if (dysym->getRefState() != RefState::Unreferenced) in addLazyObject()
|
| H A D | InputFiles.h | 49 enum class RefState : uint8_t; 241 RefState refState;
|
| H A D | LTO.cpp | 158 RefState::Strong, /*wasBitcodeSymbol=*/true); in add()
|
| H A D | InputFiles.cpp | 1664 : InputFile(DylibKind, mb), refState(RefState::Unreferenced), in DylibFile() 1835 : InputFile(DylibKind, interface), refState(RefState::Unreferenced), in DylibFile() 1914 : InputFile(DylibKind, MemoryBufferRef{}), refState(RefState::Unreferenced), in DylibFile()
|
| H A D | Writer.cpp | 890 dylibFile->forceWeakImport || dylibFile->refState == RefState::Weak in createLoadCommands()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | MallocChecker.cpp | 137 class RefState { class 159 RefState(Kind k, const Stmt *s, AllocationFamily family) in RefState() function in __anon4d168ab20211::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 …]
|