Page MenuHomePhabricator

[PowerPC] Support powerpcle target in LLD [4/5]
ClosedPublic

Authored by Bdragon28 on Dec 29 2020, 1:49 PM.

Details

Summary

Add support for linking powerpcle code in LLD.

Rewrite lld/test/ELF/emulation-ppc.s to use a shared check block and add powerpcle tests.

Update tests.

Diff Detail

Unit TestsFailed

TimeTest
10 msx64 debian > LLVM-Unit.Object/_/ObjectTests::ELFObjectFileTest.MachineTestForPPC
Note: Google Test filter = ELFObjectFileTest.MachineTestForPPC [==========] Running 1 test from 1 test case. [----------] Global test environment set-up.
30 msx64 windows > LLVM-Unit.Object/_/ObjectTests_exe::ELFObjectFileTest.MachineTestForPPC
Note: Google Test filter = ELFObjectFileTest.MachineTestForPPC [==========] Running 1 test from 1 test case.

Event Timeline

Bdragon28 created this revision.Dec 29 2020, 1:49 PM
Bdragon28 requested review of this revision.Dec 29 2020, 1:49 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 29 2020, 1:49 PM
Bdragon28 updated this revision to Diff 314015.Dec 29 2020, 2:01 PM

Redoing patch.

Bdragon28 edited the summary of this revision. (Show Details)Dec 29 2020, 2:10 PM
Bdragon28 added a project: Restricted Project.
MaskRay accepted this revision.Dec 29 2020, 3:46 PM

Looks great!

This revision is now accepted and ready to land.Dec 29 2020, 3:46 PM
Bdragon28 retitled this revision from [PowerPC] powerpcle target 4/5 to [PowerPC] Support powerpcle target in LLD [4/5].Jan 2 2021, 8:57 AM
Bdragon28 edited the summary of this revision. (Show Details)
This revision was landed with ongoing or failed builds.Jan 2 2021, 10:20 AM
This revision was automatically updated to reflect the committed changes.