This adds support for generating dSYM files and stripping debug info from executables and dylibs. It also supports passing -object_path_lto to the linker to generate dSYMs for LTO builds.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
For LTO builds, dsymutil doesn't need to run against the intermediate object, we just need to make sure it sticks around.
Comment Actions
From what I understand this looks fine, but I fear that I'm not CMake-savvy enough to approve it.
cmake/modules/AddLLVM.cmake | ||
---|---|---|
1183 ↗ | (On Diff #41660) | I would make that ${name}-lto.o just to make it clear what it is if someone looks at the directory and is concerned about that huge object file. |