We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ba0a77 commit 88ab7faCopy full SHA for 88ab7fa
compiler-rt/test/memprof/TestCases/default_options.cpp
@@ -1,5 +1,8 @@
1
// RUN: %clangxx_memprof -O2 %s -o %t && %run %t 2>&1 | FileCheck %s
2
3
+// Check that overriding __memprof_default_options() takes precedence over the LLVM flag
4
+// RUN: %clangxx_memprof -O2 %s -o %t-flag -mllvm -memprof-runtime-default-options="verbosity=0 help=0" && %run %t-flag 2>&1 | FileCheck %s
5
+
6
const char *kMemProfDefaultOptions = "verbosity=1 help=1";
7
8
extern "C" const char *__memprof_default_options() {
0 commit comments