From f2cdf5e934dcedfdfb3c595b01761471a0ca883c Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Sun, 14 Nov 2004 21:02:28 +0000 Subject: [PATCH] Add GhostLinkage for marking functions before they're fully materialized git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17747 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/GlobalValue.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/GlobalValue.h b/include/llvm/GlobalValue.h index bba6ff11117..5b2c546a01e 100644 --- a/include/llvm/GlobalValue.h +++ b/include/llvm/GlobalValue.h @@ -32,7 +32,8 @@ public: LinkOnceLinkage, // Keep one copy of named function when linking (inline) WeakLinkage, // Keep one copy of named function when linking (weak) AppendingLinkage, // Special purpose, only applies to global arrays - InternalLinkage // Rename collisions when linking (static functions) + InternalLinkage, // Rename collisions when linking (static functions) + GhostLinkage // Stand-in functions for streaming fns from BC files }; protected: GlobalValue(const Type *Ty, ValueTy vty, LinkageTypes linkage, -- 2.34.1