https://bugs.llvm.org/show_bug.cgi?id=41161

            Bug ID: 41161
           Summary: clang compile+link -gsplit-dwarf creates tmp .dwo file
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangb...@nondot.org
          Reporter: stephan.bergmann.second...@googlemail.com
                CC: gri...@accesssoftek.com, htmldevelo...@gmail.com,
                    llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

At least with recent trunk,

> $ cat test.c
> int main() { return 0; }
> $ clang -gsplit-dwarf -o test test.c
> $ ls test.dwo
> ls: cannot access 'test.dwo': No such file or directory
> $ ls /tmp/test-*.dwo
> /tmp/test-5efe28.dwo

It appears that reverting <https://reviews.llvm.org/rL348352> "[clang] -
Simplify tools::SplitDebugName" would fix that, creating tmp.dwo instead of
some /tmp/test-*.dwo.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to