diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-05-09 14:15:18 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-05-09 14:15:18 +0000 |
commit | e253f2f886a980c227a35508601bd0a6a5aba5c6 (patch) | |
tree | ce8effc7b97b4797d9fe1f011e220c0785c5c701 /lldb/source/Commands/CommandObjectProcess.cpp | |
parent | b27dd33c58db26f7115ddd39505479d0a50777dc (diff) | |
download | bcm5719-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