Skip to content

Commit 99e3b41

Browse files
committed
review: remove partition related options
1 parent 152c383 commit 99e3b41

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

llvm/lib/ObjCopy/ConfigManager.cpp

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -113,19 +113,18 @@ ConfigManager::getDXContainerConfig() const {
113113
// If a flag is listed below, then it may be implemented in the future. All
114114
// other flags are not applicable and will be silently ignored for the
115115
// DXContainer object file
116-
if (!Common.AddGnuDebugLink.empty() || Common.ExtractPartition ||
117-
!Common.SplitDWO.empty() || !Common.AllocSectionsPrefix.empty() ||
116+
if (!Common.AddGnuDebugLink.empty() || !Common.SplitDWO.empty() ||
117+
!Common.AllocSectionsPrefix.empty() ||
118118
Common.DiscardMode != DiscardType::None || !Common.AddSection.empty() ||
119119
!Common.DumpSection.empty() || !Common.KeepSection.empty() ||
120120
!Common.OnlySection.empty() || !Common.ToRemove.empty() ||
121121
!Common.SectionsToRename.empty() || !Common.SetSectionAlignment.empty() ||
122122
!Common.SetSectionFlags.empty() || !Common.SetSectionType.empty() ||
123-
Common.ExtractDWO || Common.ExtractMainPartition ||
124-
Common.OnlyKeepDebug || Common.StripAllGNU || Common.StripDWO ||
125-
Common.StripDebug || Common.StripNonAlloc || Common.StripSections ||
126-
Common.StripUnneeded || Common.DecompressDebugSections ||
127-
Common.GapFill != 0 || Common.PadTo != 0 ||
128-
Common.ChangeSectionLMAValAll != 0 ||
123+
Common.ExtractDWO || Common.OnlyKeepDebug || Common.StripAllGNU ||
124+
Common.StripDWO || Common.StripDebug || Common.StripNonAlloc ||
125+
Common.StripSections || Common.StripUnneeded ||
126+
Common.DecompressDebugSections || Common.GapFill != 0 ||
127+
Common.PadTo != 0 || Common.ChangeSectionLMAValAll != 0 ||
129128
!Common.ChangeSectionAddress.empty()) {
130129
return createStringError(
131130
llvm::errc::invalid_argument,

0 commit comments

Comments
 (0)