You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[openmp] - Do not look for asan.bc/ockl.bc if -nogpulib specified.
clang/test/Driver/openmp-runtimelib was asserting
for builds with assertions enabled. The test passes
-nogpulib as well as support for asan libs. We should
not be looking for device-libs when -nogpulib is present.
If asan is enabled, then ockl is added by default for
llvm-link. But due to -nogpulib getOCKLPath() will be empty.
Note that getOCKLPath() has an assert whilegetAsanRTLPath()
does not.
Overall premise, if -nogpulib is specified, do not look
for asanrtl.bc or ockl.bc.
Updated clang error if ockl.bc is not found.
Change-Id: I3b1e5e81309a8dc17cf0355ed59a9fbf4e58ca46
0 commit comments