The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15245
======================================================================
Reported By: Ilya
Assigned To:
======================================================================
Project: CMake
Issue ID: 15245
Category: CMake
Reproducibility: always
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-11-11 20:54 EST
Last Modified: 2014-11-11 20:54 EST
======================================================================
Summary: Add support for LTO
Description:
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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-11-11 20:54 Ilya New Issue
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers