[llvm-bugs] [Bug 36237] New: TestTargetSymbolsSepDebugSymlink fails when run remotely

via llvm-bugs llvm-bugs 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 on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180205/e289891c/attachment.html>


More information about the llvm-bugs mailing list