This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objcopy] option --only-keep-debug should suppress default --strip-all
AbandonedPublic

Authored by jmciver on Apr 13 2022, 2:50 PM.

Details

Summary

The following commit resolves Issue #54417.

Fixes llvm-strip conditional command line option logic to not enable --strip-all in the presence of --only-keep-debug.

Diff Detail

Event Timeline

jmciver created this revision.Apr 13 2022, 2:50 PM
jmciver requested review of this revision.Apr 13 2022, 2:50 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 13 2022, 2:50 PM
jmciver edited the summary of this revision. (Show Details)Apr 13 2022, 3:03 PM
jmciver edited the summary of this revision. (Show Details)Apr 13 2022, 3:16 PM
jmciver updated this revision to Diff 422749.Apr 13 2022, 11:24 PM

Updating D123738: [llvm-objcopy] option --only-keep-debug should suppress default --strip-all

Rebasing patch onto most recent main in attempt to resolve build failures
related to libomp tests.

jmciver abandoned this revision.Apr 14 2022, 8:17 AM