HomePhabricator

[OPENMP]Use the attributes for dso locality when building for device.

Authored by ABataev on May 21 2019, 11:20 AM.

Description

[OPENMP]Use the attributes for dso locality when building for device.

Currently, we ignore all dso locality attributes/info when building for
the device and thus all symblos are externally visible and can be
preemted at the runtime. It may lead to incorrect results. We need to
follow the same logic, compiler uses for static/pie builds.

llvm-svn: 361283

Details

Committed
ABataevMay 21 2019, 11:20 AM
Parents
rGc1b6b9a17776: [cmake] Bug in r361281: make include optional and fix typo which might make a…
Branches
Unknown
Tags
Unknown