This is an archive of the discontinued LLVM Phabricator instance.

[Driver][PS4] pass -fcrash-diagnostics-dir to LTO
ClosedPublic

Authored by ychen on Sep 26 2022, 1:45 PM.

Details

Summary

Also refactor the existing code a little bit.

Diff Detail

Event Timeline

ychen created this revision.Sep 26 2022, 1:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 26 2022, 1:45 PM
Herald added a subscriber: inglorion. · View Herald Transcript
ychen requested review of this revision.Sep 26 2022, 1:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 26 2022, 1:45 PM

I'm guessing the non-PS4 targets would also want this, so a similar change is needed in tools::addLTOOptions. This can be a separate patch if you wish.

ychen added a comment.Sep 26 2022, 2:10 PM

I'm guessing the non-PS4 targets would also want this, so a similar change is needed in tools::addLTOOptions. This can be a separate patch if you wish.

That's right. It was submitted https://reviews.llvm.org/D134657 .

This revision is now accepted and ready to land.Sep 27 2022, 6:00 AM