Resolve the path in the target create output. This is nice when passing relative paths to the lldb command line driver. $ lldb ./binary (lldb) target create "./binary" Current executable set to '/absolute/path/to/binary' (x86_64). This change only affects the target create output and does not change the debugger's behavior. It doesn't resolve symbolic links so it won't cause confusing when debugging something like clang++ that's symlinked to clang. Differential revision: https://reviews.llvm.org/D65611 llvm-svn: 368182
8 lines
229 B
Plaintext
8 lines
229 B
Plaintext
# Make sure lldb resolves the target path.
|
|
# RUN: mkdir -p %t/foo
|
|
# RUN: cd %t/foo
|
|
# RUN: %clang %p/Inputs/hello.c -g -o a.out
|
|
# RUN: %lldb -b a.out | FileCheck %s
|
|
|
|
# CHECK: Current executable set to '{{.*}}foo{{[/\\\\]+}}a.out'
|