[llvm-commits] CVS: llvm/include/llvm/GlobalValue.h

Misha Brukman brukman at cs.uiuc.edu
Sun Nov 14 13:02:38 PST 2004



Changes in directory llvm/include/llvm:

GlobalValue.h updated: 1.18 -> 1.19
---
Log message:

Add GhostLinkage for marking functions before they're fully materialized


---
Diffs of the changes:  (+2 -1)

Index: llvm/include/llvm/GlobalValue.h
diff -u llvm/include/llvm/GlobalValue.h:1.18 llvm/include/llvm/GlobalValue.h:1.19
--- llvm/include/llvm/GlobalValue.h:1.18	Sun Jul 18 19:55:19 2004
+++ llvm/include/llvm/GlobalValue.h	Sun Nov 14 15:02:28 2004
@@ -32,7 +32,8 @@
     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,






More information about the llvm-commits mailing list