[cfe-users] thinlto and c++ static initialization analysis
Jerry Scharf via cfe-users
cfe-users at lists.llvm.org
Thu Jul 18 02:15:03 PDT 2019
I am looking at trying out thinlto on our large c++ programs. We have
had to do a bunch of careful things to make sure things get linked in
the right order to get the static initialization to work right.
Two questions:
Will thinlto honor the command line ordering of files that we set?
In theory, with lto one could build the dependency graph of
initializations and guarantee the correct ordering. Has anyone worked on
this and are there any plans for this in the future?
thanks in advance,
jerry
More information about the cfe-users
mailing list