1RUN: rm -rf %t.dir 2RUN: mkdir -p %t.dir 3RUN: cat %p/../Inputs/basic.macho.x86_64 > %t.dir/basic 4RUN: dsymutil -oso-prepend-path=%p/.. %t.dir/basic 5RUN: llvm-dwarfdump -a %t.dir/basic.dSYM | FileCheck %S/basic-linking-x86.test 6RUN: dsymutil --update %t.dir/basic.dSYM 7RUN: llvm-dwarfdump -a %t.dir/basic.dSYM | FileCheck %S/basic-linking-x86.test 8RUN: dsymutil -u %t.dir/basic.dSYM 9RUN: llvm-dwarfdump -a %t.dir/basic.dSYM | FileCheck %S/basic-linking-x86.test 10RUN: dsymutil --update %t.dir/basic.dSYM -o %t.dir/updated.dSYM 11RUN: llvm-dwarfdump -a %t.dir/updated.dSYM | FileCheck %S/basic-linking-x86.test 12 13RUN: dsymutil -f -o %t2 -oso-prepend-path=%p/.. %p/../Inputs/basic.macho.x86_64 14RUN: dsymutil -f -u %t2 -o %t3 15RUN: llvm-dwarfdump -a %t3 | FileCheck %S/basic-linking-x86.test 16