MantisBT - CMake
View Issue Details
0015245CMakeCMakepublic2014-11-11 20:542016-06-10 14:31
Ilya 
Kitware Robot 
normalfeaturealways
closedmoved 
 
 
0015245: Add support for LTO
When compiling both with LTO and debugging symbols enabled (at least in clang) one must supply the -object_path_lto option:

-object_path_lto filename
    When performing Link Time Optimization (LTO) and a temporary mach-o object file is needed,
    if this option is used, the temporary file will be stored at the specified path and remain after
    the link is complete. Without the option, the linker picks a path and deletes the object file before
    the linker tool completes, thus tools such as the debugger or dsymutil will not be able
    to access the DWARF debug info in the temporary object file.

No tags attached.
Issue History
2014-11-11 20:54IlyaNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042666
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042666)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.