Summary:
The changes in D122987 ensures that the offloading sections always have
the SHF_EXCLUDE flag. This means that we do not need to manually strip
these sections for ELF or COFF targets.
static cl::opt<bool> StripSections(
"strip-sections", cl::ZeroOrMore,
cl::desc("Strip offloading sections from the host object file."),
- cl::init(true), cl::cat(ClangLinkerWrapperCategory));
+ cl::init(false), cl::cat(ClangLinkerWrapperCategory));
static cl::opt<std::string> LinkerUserPath("linker-path", cl::Required,
cl::desc("Path of linker binary"),