[PATCH] [lsan] Add leak_check_at_exit flag.
Sergey Matveev
earthdok at google.com
Thu Aug 1 07:56:49 PDT 2013
================
Comment at: lib/lsan/lit_tests/TestCases/leak_check_at_exit.cc:12
@@ +11,3 @@
+int main(int argc, char *argv[]) {
+ printf("printf to break optimization\n");
+ if (argc > 1)
----------------
Alexey Samsonov wrote:
> Do you really need this printf here?
Somehow atexit handlers are not invoked if main is a no-op. I didn't investigate further.
http://llvm-reviews.chandlerc.com/D1258
BRANCH
feat/detect_leaks_at_exit
ARCANIST PROJECT
compiler-rt
More information about the llvm-commits
mailing list