1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/test/Bindings/Ocaml
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.ml Fix a typo noticed by Alain Frisch. 2007-12-01 20:59:23 +00:00
bitwriter.ml Added C and Ocaml bindings for functions, basic blocks, and 2007-09-26 20:56:12 +00:00
ocaml.exp
vmcore.ml Adding a collector name attribute to Function in the IR. These 2007-12-10 03:18:06 +00:00