[llvm-bugs] [Bug 46692] New: split DWARF .dwo not saved/restored by ThinLTO cache

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 12 09:49:35 PDT 2020


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

            Bug ID: 46692
           Summary: split DWARF .dwo not saved/restored by ThinLTO cache
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: lto
          Assignee: unassignedbugs at nondot.org
          Reporter: trass3r at gmail.com
                CC: llvm-bugs at lists.llvm.org

clang++ -O3 -flto=thin -gsplit-dwarf test.cpp -o test -fuse-ld=lld
-Wl,--thinlto-cache-dir=/tmp/testltocache

or

clang++ -O3 -flto=thin -gsplit-dwarf test.cpp -o test
-Wl,-plugin-opt,cache-dir=/tmp/testltocache

The first time it runs it does produce a test_dwo/1.dwo file but after that it
fetches the object file from the cache and the .dwo is lost.

-- 
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/20200712/95b5eed1/attachment.html>


More information about the llvm-bugs mailing list