Alex Denisov via llvm-dev
2017-Jul-13 08:25 UTC
[llvm-dev] [ORC] Compile On Demand and static constructors
Hi everyone, hi Lang. I am using ORC’s CoD layer to run some code. However, I am having problems with understanding how to call static constructors properly. Previously, when I did not use CoD, I run all constructors for each module before running ‘main’. Now I see that some constructors may be not needed at all. The question is: how do I decide which constructor to run and at which point? I use LLVM 3.9, in case it matters. I would appreciate any hints and recommendations. Thank you. -- AlexDenisov Software Engineer, https://lowlevelbits.org -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 496 bytes Desc: Message signed with OpenPGP URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170713/b19be5a5/attachment.sig>