[libomptarget][amdgcn] Tolerate deadstripped device_state variable
authorJon Chesterfield <jonathanchesterfield@gmail.com>
Tue, 9 Feb 2021 16:29:52 +0000 (16:29 +0000)
committerJon Chesterfield <jonathanchesterfield@gmail.com>
Tue, 9 Feb 2021 16:29:53 +0000 (16:29 +0000)
commit56c446a878b1fa98774dcee1cb09135b8f286e59
treeaf9eba6fb85cec2b67dca0b4879db83a70782f02
parentde1966e5427985163f8e816834b3a0564b5e24cd
[libomptarget][amdgcn] Tolerate deadstripped device_state variable

[libomptarget][amdgcn] Tolerate deadstripped device_state variable

The device_state variable may have been deadstripped. Similar to
device_environment, leave detection of missing but used symbol to loader.

Reviewed By: pdhaliwal

Differential Revision: https://reviews.llvm.org/D96330
openmp/libomptarget/plugins/amdgpu/src/rtl.cpp