1# REQUIRES: x86 2 3# FIXME(gkm): This test is fast on a Release tree, and slow (~10s) on 4# a Debug tree mostly because of llvm-mc. Is there a way to prefer the 5# fast installed llvm-mc rather than the slow one in our Debug tree? 6 7# If headers and offsets are proper, then ... 8# 9# 1) llvm-objdump will not crash, and exit with good status 10# 11# 2) Summary encodings from the input object will match 12# those from the linked output 13# 14# 3) Encodings & symbols from the intput object will match 15# those from the linked output 16 17# RUN: %python %S/tools/generate-cfi-funcs.py --seed=johnnyapple >%t.s 18# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin19.0.0 -o %t.o %t.s 19# RUN: %lld -Z -L%S/Inputs/MacOSX.sdk/usr/lib -lSystem -o %t %t.o 20# RUN: llvm-objdump --unwind-info --syms %t %t.o >%t.dump 21# RUN: %python %S/tools/validate-unwind-info.py %t.dump 22