[Bug 36237] New: TestTargetSymbolsSepDebugSymlink fails when run remotely

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@lists.llvm.org
Reporter labath@google.com
CC llvm-bugs@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.

Jan Kratochvil changed bug 36237

What Removed Added
Assignee lldb-dev@lists.llvm.org jan.kratochvil@redhat.com
Status NEW ASSIGNED
CC jan.kratochvil@redhat.com

Comment # 1 on bug 36237 from Jan Kratochvil

Fix Bug 36237 - TestTargetSymbolsSepDebugSymlink fails when run remotely
[https://reviews.llvm.org/D42908](https://reviews.llvm.org/D42908)

Jan Kratochvil changed bug 36237