[clang] [compiler-rt] [llvm] Migrate llvm-profdata to Opt flag parsing (PR #177868)
Prabhu Rajasekaran via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 12 20:19:06 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.
----------------
Prabhuk wrote:
Is this possibly an unnecessary change as well?
https://github.com/llvm/llvm-project/pull/177868
More information about the cfe-commits
mailing list