https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90575
Bug ID: 90575
Summary: -gsplit-dwarf leaves behind .dwo file in cwd
Product: gcc
Version: 9.1.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: sbergman at redhat dot com
Target Milestone: ---
At least with current GCC 9.1.1:
> $ mkdir testdir
> $ echo 'int main(void) { return 0; }' > testdir/test.c
> $ gcc -gsplit-dwarf testdir/test.c -o testdir/test
> $ ls
> testdir test.dwo
I at least wouldn't expect the above to leave behind a test.dwo in the current
working dir.