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