Remap all paths pointing to build.build-dir,
i.e., [BUILD_DIR]/debug/deps/foo-[HASH].dwo would be remapped to
/cargo/build-dir/debug/deps/foo-[HASH].dwo
(note the /cargo/build-dir prefix).
This covers scenarios like:
Build script generated code. For example, a build script may call file!
macros, and the associated crate uses include! to include the expanded
file! macro in-place via the OUT_DIR environment.
On Linux, DW_AT_GNU_dwo_name that contains paths to split debuginfo
files (dwp and dwo).