[Openmp-commits] [PATCH] D69927: [libomptarget] Export __kmp_internal_end_fini to fix [Thin]LTO build
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Nov 14 06:35:47 PST 2019
JonChesterfield added a comment.
A non-empty destructor will be called, modulo bugs and targets that haven't implemented ctors/dtors. It seems a safe bet that an architecture which can support shared objects and openmp will be able to run destructors. There's probably an existing test for them.
The function could be retained by marking it __attribute__(("used")), which may be necessary when statically linking this library anyway.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69927/new/
https://reviews.llvm.org/D69927
More information about the Openmp-commits
mailing list