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
..
2006-12-31 06:02:00 +00:00
2006-12-31 06:02:00 +00:00
2007-04-16 17:36:08 +00:00
2007-04-28 06:03:12 +00:00
2007-01-26 08:25:06 +00:00
2007-02-25 21:43:21 +00:00
2007-04-26 21:20:04 +00:00
2007-04-17 23:43:31 +00:00
2007-11-28 18:22:12 +00:00
2007-04-16 17:36:08 +00:00
2007-09-24 15:50:11 +00:00
2007-04-16 03:06:39 +00:00
2007-04-30 05:11:58 +00:00