The VFS requires files to be have absolute paths. The file collector makes paths relative to the reproducer root. If the root is a relative path, this would trigger an assert in the VFS. This patch ensures that we always make the given path absolute. Thank you Ted Woodward for pointing this out! llvm-svn: 373102
9 lines
301 B
Plaintext
9 lines
301 B
Plaintext
# This tests relative capture paths.
|
|
|
|
# RUN: mkdir -p %t
|
|
# RUN: cd %t
|
|
# RUN: rm -rf ./foo
|
|
# RUN: %clang %S/Inputs/simple.c -g -o %t/reproducer.out
|
|
# RUN: %lldb -x -b -s %S/Inputs/FileCapture.in -o 'reproducer dump -p files' --capture --capture-path ./foo %t/reproducer.out
|
|
# RUN: %lldb --replay ./foo
|