From e3c8f8c53ba390c493752bf900c684b347edb235 Mon Sep 17 00:00:00 2001 From: Nate Begeman Date: Fri, 25 Jul 2008 17:26:48 +0000 Subject: [PATCH] Add predicate for GhostLinkage, used by the JIT git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54027 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/GlobalValue.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h index 6b6610b724f..1fd899ae7b8 100644 --- a/include/llvm/GlobalValue.h +++ b/include/llvm/GlobalValue.h @@ -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; }