[OpenMP] Don't manually strip sections in the linker wrapper
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 13 Apr 2022 17:43:47 +0000 (13:43 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Sat, 16 Apr 2022 00:35:25 +0000 (20:35 -0400)
commitcac81161ed1386b32443e13ab513c6a3d081d6a7
tree9b63b746c7731ff040dd25c02c17360adcef2abc
parent193fde7509d7805771adaef0f34186cb2cf6e084
[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.
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp