[compiler-rt] [memprof] Add flag to control profile dump at exit (PR #119452)
Ellis Hoag via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 13:04:35 PST 2024
================
@@ -0,0 +1,16 @@
+// RUN: %clangxx_memprof %s -o %t
+
+// RUN: %env_memprof_opts=print_text=true:log_path=stdout:dump_at_exit=false %run %t | count 0
----------------
ellishg wrote:
`count N` will pass if it reads `N` lines from stdin. So this just checks that there is no output.
https://github.com/llvm/llvm-project/pull/119452
More information about the llvm-commits
mailing list