forked from OSchip/llvm-project
[OpenMP] Don't manually strip sections in the linker wrapper
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.
This commit is contained in:
parent
193fde7509
commit
cac81161ed
|
@ -65,7 +65,7 @@ static cl::OptionCategory
|
|||
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"),
|
||||
|
|
Loading…
Reference in New Issue