[PATCH] D75223: [clang-offload-wrapper] Lower priority of __tgt_register_lib in favor of __tgt_register_requires
Vyacheslav Zakharin via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 26 17:48:47 PST 2020
vzakhari added inline comments.
================
Comment at: clang/tools/clang-offload-wrapper/ClangOffloadWrapper.cpp:291
// Add this function to global destructors.
appendToGlobalDtors(M, Func, 0);
}
----------------
I think __tgt_unregister_lib should have a matching priority.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75223/new/
https://reviews.llvm.org/D75223
More information about the cfe-commits
mailing list