llvm-6502/lib/VMCore
Gordon Henriksen 80a75bfae9 Adding a collector name attribute to Function in the IR. These
methods are new to Function:

  bool hasCollector() const;
  const std::string &getCollector() const;
  void setCollector(const std::string &);
  void clearCollector();

The assembly representation is as such:

  define void @f() gc "shadow-stack" { ...

The implementation uses an on-the-side table to map Functions to 
collector names, such that there is no overhead. A StringPool is 
further used to unique collector names, which are extremely
likely to be unique per process.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44769 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-10 03:18:06 +00:00
..
AsmWriter.cpp Adding a collector name attribute to Function in the IR. These 2007-12-10 03:18:06 +00:00
AutoUpgrade.cpp Rather than having special rules like "intrinsics cannot 2007-12-03 20:06:50 +00:00
BasicBlock.cpp Reverting dtor devirtualization patch. 2007-12-10 02:14:30 +00:00
ConstantFold.cpp Add support for vectors to int <-> float casts. 2007-11-17 03:58:34 +00:00
ConstantFold.h The #include <iterator> isn't needed in this header. 2007-10-22 20:44:10 +00:00
Constants.cpp Reverting dtor devirtualization patch. 2007-12-10 02:14:30 +00:00
Core.cpp Adding a collector name attribute to Function in the IR. These 2007-12-10 03:18:06 +00:00
Dominators.cpp Make DomTree and PostDomTree thin wrappers around DomTreeBase, rather than inheriting from it. 2007-10-23 20:58:37 +00:00
Function.cpp Adding a collector name attribute to Function in the IR. These 2007-12-10 03:18:06 +00:00
Globals.cpp handle gep aliasee 2007-05-05 23:49:02 +00:00
InlineAsm.cpp Reverting dtor devirtualization patch. 2007-12-10 02:14:30 +00:00
Instruction.cpp Reverting dtor devirtualization patch. 2007-12-10 02:14:30 +00:00
Instructions.cpp Reverting dtor devirtualization patch. 2007-12-10 02:14:30 +00:00
IntrinsicInst.cpp
LeakDetector.cpp
Makefile
Mangler.cpp Rather than having special rules like "intrinsics cannot 2007-12-03 20:06:50 +00:00
Module.cpp Implement review feedback. Aliasees can be either GlobalValue's or 2007-04-28 13:45:00 +00:00
ModuleProvider.cpp
Pass.cpp Reduce reliance on rtti info 2007-10-18 16:11:18 +00:00
PassManager.cpp Add explicit keywords. 2007-10-08 15:08:41 +00:00
SymbolTableListTraitsImpl.h
Type.cpp Fix PR1146: parameter attributes are longer part of 2007-11-27 13:23:08 +00:00
TypeSymbolTable.cpp
Value.cpp Reverting dtor devirtualization patch. 2007-12-10 02:14:30 +00:00
ValueSymbolTable.cpp
ValueTypes.cpp Initial infrastructure for arbitrary precision integer 2007-10-16 09:56:48 +00:00
Verifier.cpp Check that there are not more attributes than 2007-11-30 15:52:20 +00:00