diff options
author | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-02-09 11:58:37 +0000 |
---|---|---|
committer | Jon Chesterfield <jonathanchesterfield@gmail.com> | 2021-02-09 11:58:37 +0000 |
commit | 4756f76bce7835dd233c82637bf60082469f9320 (patch) | |
tree | e3f1fac21285943278f6fcc5d1196d615505e209 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 2ccb941740e608a9cf70a7c5840497149654b0f6 (diff) | |
download | llvm-4756f76bce7835dd233c82637bf60082469f9320.zip llvm-4756f76bce7835dd233c82637bf60082469f9320.tar.gz llvm-4756f76bce7835dd233c82637bf60082469f9320.tar.bz2 |
[libomptarget][amdgcn] Tolerate deadstripped env variable
[libomptarget][amdgcn] Tolerate deadstripped env variable
Discovered by Pushpinder. If the device_environment variable is unused
it can be deadstripped, in which case we should not abort due to it
missing. This change is safe in that a missing symbol which is actually
used can be reported by both linker and loader, and a missing unused
symbol is better deadstripped than left in the image.
Reviewed By: pdhaliwal
Differential Revision: https://reviews.llvm.org/D96329
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions