Commit 2883e87a authored by Leslie Zhai's avatar Leslie Zhai

Sanitizer memory profile only for LLVM 5.0svn right now

parent 713c86f5
...@@ -137,7 +137,9 @@ int main( int argc, char* argv[] ) ...@@ -137,7 +137,9 @@ int main( int argc, char* argv[] )
#ifdef __clang__ #ifdef __clang__
if (argc > 2) if (argc > 2)
#if LLVM_MAJOR > 5
__sanitizer_print_memory_profile(atoi(argv[1]), atoi(argv[2])); __sanitizer_print_memory_profile(atoi(argv[1]), atoi(argv[2]));
#endif
#endif #endif
return app.exec(); return app.exec();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment