The CGProfilePass is not run as part of compiling the LTO object file with FullLTO, as a consequence the .llvm.call-graph-profile section is not emitted into the LTO object file and profile guided layout (--call-graph-profile-sort) does not occur.
Profile guided layout does currently work with both ThinLTO and with normal compilation as the CGProfilePass is run appropriately for both.
The CGProfilePass is not run as part of compiling the LTO object file with FullLTO, as a consequence the .llvm.call-graph-profile section is not emitted into the LTO object file and profile guided layout (--call-graph-profile-sort) does not occur.
Profile guided layout does currently work with both ThinLTO and with normal compilation as the CGProfilePass is run appropriately for both.