emaste abandoned this revision. emaste added a comment. Herald added a project: All.
Allowed for all ELF OSes as of commit ee957e045f526ce45d24b0f081f277262c3da43d Author: Fangrui Song <i...@maskray.me> Date: Thu Mar 28 08:24:00 2019 +0000 [Driver] Allow -gsplit-dwarf on ELF OSes other than Linux and Fuchsia In gcc, -gsplit-dwarf is handled in gcc/gcc.c as a spec (ASM_FINAL_SPEC): objcopy --extract-dwo + objcopy --strip-dwo. In gcc/opts.c, -gsplit_dwarf has the same semantic of a -g. Except for the availability of the external command 'objcopy', nothing precludes the feature working on other ELF OSes. llvm doesn't use objcopy, so it doesn't have to exclude other OSes. llvm-svn: 357150 CHANGES SINCE LAST ACTION https://reviews.llvm.org/D8484/new/ https://reviews.llvm.org/D8484 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits