llvm-mirror/include/llvm-c
Gordon Henriksen 5d201e0bcc 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.

llvm-svn: 44769
2007-12-10 03:18:06 +00:00
..
Analysis.h Bindings for the verifier. 2007-10-06 21:00:36 +00:00
BitWriter.h C bindings for libLLVMCore.a and libLLVMBitWriter.a. 2007-09-18 03:18:57 +00:00
Core.h Adding a collector name attribute to Function in the IR. These 2007-12-10 03:18:06 +00:00
LinkTimeOptimizer.h Add C wrappers for the LTO library (PR1081). Patch by Chandler Carruth! 2007-01-06 23:53:43 +00:00