llvm-mirror/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 Fix bug in constructing Ocaml option types in the bindings. 2007-12-08 16:55:43 +00:00
bitwriter Adding ocamldoc-style comments for the Ocaml bindings. 2007-12-01 21:01:15 +00:00
llvm Adding a collector name attribute to Function in the IR. These 2007-12-10 03:18:06 +00:00
Makefile
Makefile.ocaml Track dependencies when creating symlinks to LLVM libraries next 2007-12-03 21:15:53 +00:00