summaryrefslogtreecommitdiffstats
path: root/lldb/source/Commands/CommandObjectProcess.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-05-09 14:15:18 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-05-09 14:15:18 +0000
commite253f2f886a980c227a35508601bd0a6a5aba5c6 (patch)
treece8effc7b97b4797d9fe1f011e220c0785c5c701 /lldb/source/Commands/CommandObjectProcess.cpp
parentb27dd33c58db26f7115ddd39505479d0a50777dc (diff)
downloadbcm5719-llvm-e253f2f886a980c227a35508601bd0a6a5aba5c6.tar.gz
bcm5719-llvm-e253f2f886a980c227a35508601bd0a6a5aba5c6.zip
[OPENMP] Mark global tors/dtors as used.
If the global variables are marked as declare target and they need ctors/dtors, these ctors/dtors are emitted and then invoked by the offloading runtime library. They are not explicitly used in the emitted code and thus can be optimized out. Patch marks these functions as used, so the optimizer cannot remove these function during the optimization phase. llvm-svn: 331879
Diffstat (limited to 'lldb/source/Commands/CommandObjectProcess.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud