This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Discard input .note.gnu.build-id even with default --build-id=none
ClosedPublic

Authored by MaskRay on Dec 1 2021, 1:50 PM.

Diff Detail

Event Timeline

MaskRay created this revision.Dec 1 2021, 1:50 PM
MaskRay requested review of this revision.Dec 1 2021, 1:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 1 2021, 1:50 PM
ikudrin accepted this revision.Dec 1 2021, 8:37 PM

LGTM.

lld/test/ELF/relocatable-build-id.s
8

I'd prefer to have an additional test with an explicit --build-id=none here.

This revision is now accepted and ready to land.Dec 1 2021, 8:37 PM
MaskRay updated this revision to Diff 391219.Dec 1 2021, 10:52 PM

add explicit --build-id=none test

MaskRay marked an inline comment as done.Dec 1 2021, 10:54 PM
ikudrin added inline comments.Dec 2 2021, 12:49 AM
lld/test/ELF/relocatable-build-id.s
10–12
MaskRay updated this revision to Diff 391255.Dec 2 2021, 1:50 AM
MaskRay marked an inline comment as done.
MaskRay edited the summary of this revision. (Show Details)

Update

This revision was landed with ongoing or failed builds.Dec 2 2021, 1:51 AM
This revision was automatically updated to reflect the committed changes.