llvm-ir 0.11.3

LLVM IR in natural Rust data structures
Documentation
1
2
3
4
5
6
7
8
9
10
11
#include <cstdio>
#include <stdexcept>

int main() {
  try {
    throw std::logic_error("hello, exceptions!");
  } catch (const std::logic_error &e) {
    printf("%p\n", (void *) &e);
  }
  return 0;
}