[libcxx-commits] [libcxx] [libc++] Remap headers in the debug info when building the library (PR #143004)

Khem Raj via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jul 27 19:09:29 PDT 2025


kraj wrote:

This means that any rewrite from environent will be ignored for this directory. Mapping from generated headers dir to sourcedir can cause reproducibility problem where source dir is an absolute path on build machine. I think it would be better to let this be a fallback if user does not use `--fiile-prefix-map` or `--fdebug-prefix-map` via CXXFLAGS, in current form the  behavior is reversed.

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


More information about the libcxx-commits mailing list