[llvm-bugs] [Bug 41161] New: clang compile+link -gsplit-dwarf creates tmp .dwo file

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 20 13:41:05 PDT 2019


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: unassignedclangbugs at nondot.org
          Reporter: stephan.bergmann.secondary at googlemail.com
                CC: grimar at accesssoftek.com, htmldeveloper at gmail.com,
                    llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190320/7100ec6b/attachment-0001.html>


More information about the llvm-bugs mailing list