[compiler-rt] [llvm] [memprof] Use -memprof-default-options to set options during compile time (PR #118874)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 5 15:18:53 PST 2024


================
@@ -166,6 +166,11 @@ static cl::opt<bool>
                                      "context in this module's profiles"),
                             cl::Hidden, cl::init(false));
 
+static cl::opt<std::string>
+    MemprofDefaultOptions("memprof-default-options",
----------------
snehasish wrote:

Perhaps "memprof-runtime-default-options" to make it clear that it affects the compiler-rt runtime?

https://github.com/llvm/llvm-project/pull/118874


More information about the llvm-commits mailing list