[compiler-rt] [llvm] [ctxprof] root autodetection mechanism (PR #133147)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 1 21:58:56 PDT 2025


================
@@ -0,0 +1,188 @@
+// Root autodetection test for contextual profiling
+//
+// Copy the header defining ContextNode.
+// RUN: mkdir -p %t_include
+// RUN: cp %llvm_src/include/llvm/ProfileData/CtxInstrContextNode.h %t_include/
----------------
snehasish wrote:

Do we need to copy? As an alternative can we pass  `%llvm_src/include/llvm/ProfileData` to `-I` down below?

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


More information about the llvm-commits mailing list