git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345079
91177308-0d34-0410-b5e6-
96231b3b80d8
Config.PreserveDates = InputArgs.hasArg(OBJCOPY_preserve_dates);
- DriverConfig DC;
- DC.CopyConfigs.push_back(std::move(Config));
if (Config.DecompressDebugSections &&
Config.CompressionType != DebugCompressionType::None) {
error("Cannot specify --compress-debug-sections at the same time as "
if (Config.DecompressDebugSections && !zlib::isAvailable())
error("LLVM was not compiled with LLVM_ENABLE_ZLIB: cannot decompress.");
+ DriverConfig DC;
+ DC.CopyConfigs.push_back(std::move(Config));
return DC;
}