19#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
25 Result +=
"(weak-def) ";
27 Result +=
"(weak-ref) ";
35 Result +=
"(ObjC Class) " + Name.
str();
38 Result +=
"(ObjC Class EH) " + Name.
str();
41 Result +=
"(ObjC IVar) " + Name.
str();
69 RemoveFlag(*
this, LHSFlags);
70 RemoveFlag(O, RHSFlags);
71 return std::tie(Name, Kind, Targets, LHSFlags) ==
72 std::tie(O.Name, O.Kind, O.Targets, RHSFlags);
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
bool has(Architecture Arch) const
bool isWeakDefined() const
const_target_range targets() const
bool operator==(const Symbol &O) const
bool isThreadLocalValue() const
bool isWeakReferenced() const
StringRef - Represent a constant reference to a string, i.e.
std::string str() const
str - Get the contents as an std::string.
bool starts_with(StringRef Prefix) const
Check if this string starts with the given Prefix.
StringRef drop_front(size_t N=1) const
Return a StringRef equal to 'this' but with the first N elements dropped.
constexpr size_t size() const
size - Get the string size.
A range adaptor for a pair of iterators.
This class implements an extremely fast bulk output stream that can only output to a stream.
constexpr StringLiteral ObjC2IVarPrefix
constexpr StringLiteral ObjC1ClassNamePrefix
constexpr StringLiteral ObjC2ClassNamePrefix
@ EHType
Is OBJC_EHTYPE* symbol.
@ Class
Is OBJC_CLASS* symbol.
@ MetaClass
Is OBJC_METACLASS* symbol.
@ ObjectiveCInstanceVariable
SimpleSymbol parseSymbol(StringRef SymName)
Get symbol classification by parsing the name of a symbol.
constexpr StringLiteral ObjC2MetaClassNamePrefix
constexpr StringLiteral ObjC2EHTypePrefix
This is an optimization pass for GlobalISel generic memory operations.
iterator_range< filter_iterator< detail::IterOfRange< RangeT >, PredicateT > > make_filter_range(RangeT &&Range, PredicateT Pred)
Convenience function that takes a range of elements and a predicate, and return a new filter_iterator...
Lightweight struct for passing around symbol information.