This is an archive of the discontinued LLVM Phabricator instance.

[X86] Make triple ArchName override OS for i686 and i786
Needs ReviewPublic

Authored by pengfei on Mar 11 2023, 8:17 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Fixes #61347

Diff Detail

Event Timeline

pengfei created this revision.Mar 11 2023, 8:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2023, 8:17 PM
pengfei requested review of this revision.Mar 11 2023, 8:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2023, 8:17 PM

Did you test this? I kind of expected the triple would be normalized before this. I’m not at a computer to check.

pengfei planned changes to this revision.Mar 11 2023, 8:43 PM

Did you test this? I kind of expected the triple would be normalized before this. I’m not at a computer to check.

No, I just tried with gdb which proves the idea here. Will add test cases.

pengfei updated this revision to Diff 504400.Mar 11 2023, 8:55 PM

Fix typo & add tests.

pengfei updated this revision to Diff 504401.Mar 11 2023, 8:58 PM

Fix lit failure.

pengfei updated this revision to Diff 504497.Mar 12 2023, 7:12 PM

Only make OS override i386.

pengfei updated this revision to Diff 504498.Mar 12 2023, 7:19 PM

Support i886 and i986.