[clang] [compiler-rt] [llvm] Migrate llvm-profdata to Opt flag parsing (PR #177868)

David Zbarsky via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 15 05:28:16 PST 2026


================
@@ -41,7 +41,7 @@ To enable MemProf instrumentation, compile your application with the ``-fmemory-
 
 .. note::
     Link with ``-fmemory-profile`` as well to link the necessary runtime libraries. If you use a separate link step, ensure the flag is passed to the linker.
-    On Linux, the flags ``-fno-pie -no-pie -Wl,-z,noseparate-code -Wl,--build-id`` are currently required to ensure the binary layout (executable segment at offset 0) and Build ID presence are compatible with the ``llvm-profdata`` profile reader.
+    On Linux, the flags ``-fno-pie --no-pie -Wl,-z,noseparate-code -Wl,--build-id`` are currently required to ensure the binary layout (executable segment at offset 0) and Build ID presence are compatible with the ``llvm-profdata`` profile reader.
----------------
dzbarsky wrote:

ack, fixed

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


More information about the cfe-commits mailing list