projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f6ae30
)
Add predicate for GhostLinkage, used by the JIT
author
Nate Begeman
<natebegeman@mac.com>
Fri, 25 Jul 2008 17:26:48 +0000
(17:26 +0000)
committer
Nate Begeman
<natebegeman@mac.com>
Fri, 25 Jul 2008 17:26:48 +0000
(17:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54027
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/GlobalValue.h
patch
|
blob
|
history
diff --git
a/include/llvm/GlobalValue.h
b/include/llvm/GlobalValue.h
index 6b6610b724f0dde6dbbf77edc9ea1a90e8e4dda6..1fd899ae7b8aac0af98441fe8038e31a5f0f7955 100644
(file)
--- 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; }