Page MenuHomePhabricator

Ensure LLVM_EXTERNALIZE_DEBUGINFO goes to bin/ not foo/bar/
Needs ReviewPublic

Authored by directhex on Oct 13 2021, 10:12 AM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

This aligns with the Windows behaviour, where .pdb files go to bin/ not foo/bar/ (e.g. tools/llc/) - and it makes more sense to put the debug files next to the executables that they pair with.

If LLVM_EXTERNALIZE_DEBUGINFO_OUTPUT_DIR is absolute, put files in there, otherwise the path is relative to bin/ not foo/bar/.

Diff Detail