[lldb-dev] [Bug 36237] New: TestTargetSymbolsSepDebugSymlink fails when run remotely

via lldb-dev lldb-dev at lists.llvm.org
Mon Feb 5 06:04:48 PST 2018


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

            Bug ID: 36237
           Summary: TestTargetSymbolsSepDebugSymlink fails when run
                    remotely
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: labath at google.com
                CC: llvm-bugs at lists.llvm.org

The root problem is in Platform::Install.
When given a symlink, it will try to create the same symlink on the target. 
However, Platform::CreateSymlink function is not implemented, but even if it
was, the target is unlikely to contain anything at the place where the symlink
points to. And even if it contain something, it would most likely be a
different object than the debugger will obtain when it resolves the symlink
locally.

I think that a more reasonable behavior here would be to copy the file contents
instead.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20180205/62f05cbc/attachment.html>


More information about the lldb-dev mailing list