
%T has been deprecated for about seven years, mostly because it is not unique to each test which can lead to races. This patch updates the few remaining tests in lldb that use %T to not use it (either directly using files or creating their own temp dir). The eventual goal is to remove support for %T from llvm-lit given few tests use it and it still has racey behavior. This patch errors on the side of creating new temp dirs even when not strictly necessary to avoid needing to update filenames inside filecheck matchers.
15 lines
484 B
Plaintext
15 lines
484 B
Plaintext
# RUN: mkdir -p %t.dir
|
|
# RUN: yaml2obj %S/Inputs/uuid-matching-mac.yaml -o %t.dir/uuid-matching-mac.out
|
|
# RUN: cd %S
|
|
# RUN: %lldb %t.dir/uuid-matching-mac.out -s %s -o exit | FileCheck %s
|
|
|
|
target symbols add Inputs/uuid-matching-mac.syms
|
|
# CHECK-LABEL: target symbols add
|
|
# CHECK: symbol file '{{.*}}uuid-matching-mac.syms' has been added to '{{.*}}uuid-matching-mac.out'
|
|
|
|
image lookup -n main
|
|
# CHECK-LABEL: image lookup
|
|
# CHECK: Address: uuid-matching-mac.out[0x0000000100000f90]
|
|
|
|
|