[clang] [llvm] [memprof] Add memprof options as a clang frontend flag (PR #128615)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 07:29:51 PST 2025
================
@@ -1,11 +1,12 @@
-; RUN: opt < %s -mtriple=x86_64-unknown-linux -passes='function(memprof),memprof-module' -S | FileCheck %s --check-prefixes=CHECK,EMPTY
-; RUN: opt < %s -mtriple=x86_64-unknown-linux -passes='function(memprof),memprof-module' -S -memprof-runtime-default-options="verbose=1" | FileCheck %s --check-prefixes=CHECK,VERBOSE
+; RUN: opt < %s -mtriple=x86_64-unknown-linux -passes='function(memprof),memprof-module' -S | FileCheck %s --check-prefix=EMPTY
----------------
teresajohnson wrote:
Use `--implicit-check-not` instead of `--check-prefix` just to check the NOT case.
https://github.com/llvm/llvm-project/pull/128615
More information about the llvm-commits
mailing list