[PATCH] D84565: [Darwin] [Driver] Clang should invoke dsymutil for lto builds -g*

Jonas Devlieghere via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 24 16:46:41 PDT 2020


JDevlieghere requested changes to this revision.
JDevlieghere added a comment.
This revision now requires changes to proceed.

When you don’t pass any specific options to the linker, it’s going to generate a temporary `lto.o` file in `/tmp` and delete it after the link. When `dsymutil` will try to read that, it won't be there anymore. Unless I'm missing I don't think this is going to work. If it turns out I'm mistaken please add that situation as a test case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84565/new/

https://reviews.llvm.org/D84565





More information about the cfe-commits mailing list