[clang] [llvm] [clang][docs] Update doc and release note for probe instrumentation (PR #162606)

Haohai Wen via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 9 18:17:47 PDT 2025


================
@@ -2780,6 +2780,25 @@ usual build cycle when using sample profilers for optimization:
        /clang:-fdebug-info-for-profiling /clang:-funique-internal-linkage-names ^
        code.cc /Fe:code /fuse-ld=lld /link /debug:dwarf
 
+   [OPTIONAL] Pseudo instrumentation can be used as the anchor for accurate
+   profile mapping with the ``-fpseudo-probe-for-profiling`` option.
----------------
HaohaiWen wrote:

-fdebug-info-for-profiling enables discriminator in debug info which is not used when using pseudo probe.
They can be used together. 



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


More information about the cfe-commits mailing list