LGTM, but... does this interface play well with leak_check_at_exit runtime option? http://llvm-reviews.chandlerc.com/D1421 BRANCH feat/leak_detection_is_enabled ARCANIST PROJECT compiler-rt