llvm-project/clang/docs/CommandGuide
Philippe Blain a1f4e48c4a [clang][docs] Add note about using `-flto` with `-g` on macOS
If -Wl,object_path_lto,<lto-filename>.o is not passed at link time
when compiling and linking in separate steps with -flto and -g, the
temporary file used for Link Time Optimization is deleted by the linker,
so the executable is missing debug symbols and can't be easily debugged,
and dsymutil can't be run.

Document this behaviour.

Differential revision: https://reviews.llvm.org/D82733
2020-06-30 09:33:20 -07:00
..
clang.rst [clang][docs] Add note about using `-flto` with `-g` on macOS 2020-06-30 09:33:20 -07:00
diagtool.rst [Test Commit] Fix typo in diagtool.rst 2019-08-16 20:26:48 +00:00
index.rst