]> git.ipfire.org Git - thirdparty/gcc.git/commit
Darwin does not support gsplit-dwarf.
authoriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Aug 2018 09:15:05 +0000 (09:15 +0000)
committeriains <iains@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 18 Aug 2018 09:15:05 +0000 (09:15 +0000)
commit8284d341e48b2c37c8868f411e3841e4f1df9e37
treedf123e91f7060b140c0ac489544c88ca883e2ca7
parentc6328621edd7d51882f562b26c8f044788b3e1ad
Darwin does not support gsplit-dwarf.

2018-08-18  Iain Sandoe  <iain@sandoe.co.uk>

gcc/

* config/darwin.c (darwin_override_options): If -gsplit-dwarf is set,
emit a diagnostic that it is not supported and reset the option.
* config/darwin.h (DRIVER_SELF_SPECS): Note that gsplit-dwarf is not
supported and consume the option.  (ASM_FINAL_SPEC): New.

gcc/testsuite

* g++.dg/debug/dwarf2/pr85302.C: Skip unsupported split DWARF
test on Darwin.
* g++.dg/debug/dwarf2/pr85302.C: Likewise.
* gcc.dg/lto/pr83719_0.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263645 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/darwin.c
gcc/config/darwin.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/debug/dwarf2/pr85302.C
gcc/testsuite/gcc.dg/lto/pr83719_0.c
gcc/testsuite/gcc.dg/pr86064.c