This is an archive of the discontinued LLVM Phabricator instance.

[Fuchsia] Use -ffile-prefix-map
ClosedPublic

Authored by phosek on Mar 14 2020, 9:09 PM.

Details

Summary

This makes toolchain independent of the path it was built in by
rewriting all absolute paths embedded in sources and debug info
into relative ones.

Diff Detail

Event Timeline

phosek created this revision.Mar 14 2020, 9:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2020, 9:09 PM
leonardchan accepted this revision.Mar 16 2020, 12:11 PM
This revision is now accepted and ready to land.Mar 16 2020, 12:11 PM
This revision was automatically updated to reflect the committed changes.

@leonardchan sorry for the inconvenience, but Phabricator has a bug/missing feature where it doesn't send mail for bug updates that contain no user-authored text, so approving a patch without writing anything in the text box doesn't send an email to the mailing lrist (the mailing list is still considered the canonical source of truth for reviews, etc) and thus makes it looks like patches are being committed without review. When approving a patch through phab, please write something (eg: "Thanks!", "Looks good!", etc) in the text box to workaround this bug.