forked from OSchip/llvm-project
Add predicate for GhostLinkage, used by the JIT
llvm-svn: 54027
This commit is contained in:
parent
628ab8c673
commit
5f0cfd0968
|
@ -107,6 +107,7 @@ public:
|
|||
bool hasDLLImportLinkage() const { return Linkage == DLLImportLinkage; }
|
||||
bool hasDLLExportLinkage() const { return Linkage == DLLExportLinkage; }
|
||||
bool hasExternalWeakLinkage() const { return Linkage == ExternalWeakLinkage; }
|
||||
bool hasGhostLinkage() const { return Linkage == GhostLinkage; }
|
||||
void setLinkage(LinkageTypes LT) { Linkage = LT; }
|
||||
LinkageTypes getLinkage() const { return Linkage; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue