This is an archive of the discontinued LLVM Phabricator instance.

[UEFI] X86_64 UEFI Clang Driver
Needs ReviewPublic

Authored by Prabhuk on Sep 21 2023, 1:42 PM.

Details

Summary

Introduce changes necessary for UEFI X86_64 target Clang driver.

Event Timeline

Prabhuk created this revision.Sep 21 2023, 1:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2023, 1:42 PM
Herald added a subscriber: pengfei. · View Herald Transcript
Prabhuk requested review of this revision.Sep 21 2023, 1:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 21 2023, 1:42 PM
phosek added inline comments.Sep 21 2023, 11:46 PM
clang/lib/Driver/ToolChains/UEFI.cpp
59–60
63–65
Prabhuk updated this revision to Diff 557227.Sep 22 2023, 12:39 AM

Addressed review comments about the inline comments.

Prabhuk marked 2 inline comments as done.Sep 22 2023, 12:39 AM
brad added inline comments.Sep 22 2023, 10:39 AM
clang/lib/Driver/ToolChains/UEFI.h
47

Remove the IsIntegratedAssemblerDefault entry.

Prabhuk updated this revision to Diff 557372.Sep 26 2023, 1:06 PM

Removed IsIntegratedAssemblerDefault.

Prabhuk marked an inline comment as done.Sep 26 2023, 1:07 PM
phosek accepted this revision.Sep 29 2023, 4:33 PM

LGTM

This revision is now accepted and ready to land.Sep 29 2023, 4:33 PM
MaskRay requested changes to this revision.Sep 29 2023, 11:01 PM
MaskRay added inline comments.
clang/lib/Driver/ToolChains/UEFI.cpp
69

These options are not tested.

clang/test/Driver/uefi.c
5

This RUN line is not needed. If you want to check that x86_64-uefi normalizes to unknown, you can add a unittest instead.

This revision now requires changes to proceed.Sep 29 2023, 11:01 PM
brad added a comment.EditedMon, Nov 27, 12:56 PM

Is this still being worked on?

Is this still being worked on?

Hi Brad! Yes. I am picking this up this week and expect to send out a patch in the next couple of days to address the comment.

Prabhuk updated this revision to Diff 558209.Mon, Dec 4, 9:48 AM

Updated the Driver test to address review comments.

Prabhuk marked 2 inline comments as done.Mon, Dec 4, 9:49 AM