Add ToRemove
to implemented options
This commit is contained in:
parent
09a5ebed14
commit
d8bc47e81c
@ -117,14 +117,14 @@ ConfigManager::getDXContainerConfig() const {
|
||||
!Common.AllocSectionsPrefix.empty() ||
|
||||
Common.DiscardMode != DiscardType::None || !Common.AddSection.empty() ||
|
||||
!Common.DumpSection.empty() || !Common.KeepSection.empty() ||
|
||||
!Common.OnlySection.empty() || !Common.ToRemove.empty() ||
|
||||
!Common.SectionsToRename.empty() || !Common.SetSectionAlignment.empty() ||
|
||||
!Common.SetSectionFlags.empty() || !Common.SetSectionType.empty() ||
|
||||
Common.ExtractDWO || Common.OnlyKeepDebug || Common.StripAllGNU ||
|
||||
Common.StripDWO || Common.StripDebug || Common.StripNonAlloc ||
|
||||
Common.StripSections || Common.StripUnneeded ||
|
||||
Common.DecompressDebugSections || Common.GapFill != 0 ||
|
||||
Common.PadTo != 0 || Common.ChangeSectionLMAValAll != 0 ||
|
||||
!Common.OnlySection.empty() || !Common.SectionsToRename.empty() ||
|
||||
!Common.SetSectionAlignment.empty() || !Common.SetSectionFlags.empty() ||
|
||||
!Common.SetSectionType.empty() || Common.ExtractDWO ||
|
||||
Common.OnlyKeepDebug || Common.StripAllGNU || Common.StripDWO ||
|
||||
Common.StripDebug || Common.StripNonAlloc || Common.StripSections ||
|
||||
Common.StripUnneeded || Common.DecompressDebugSections ||
|
||||
Common.GapFill != 0 || Common.PadTo != 0 ||
|
||||
Common.ChangeSectionLMAValAll != 0 ||
|
||||
!Common.ChangeSectionAddress.empty()) {
|
||||
return createStringError(
|
||||
llvm::errc::invalid_argument,
|
||||
@ -132,6 +132,6 @@ ConfigManager::getDXContainerConfig() const {
|
||||
}
|
||||
|
||||
// If a flag is listed here, then it has support for DXContainer:
|
||||
// Common.PreserveDates
|
||||
// Common.PreserveDates, Common.ToRemove
|
||||
return DXContainer;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user