18 lines · plain
1// REQUIRES: x86-registered-target2 3// RUN: rm -rf %t; mkdir %t4// RUN: %clang -target x86_64-apple-macos11.0 -c %s -o %t/x86_64.o -femit-compact-unwind-non-canonical5// RUN: %clang -target x86_64-apple-macos11.0 -femit-dwarf-unwind=no-compact-unwind -c %s -o %t/x86_64-no-dwarf.o -femit-compact-unwind-non-canonical6// RUN: llvm-objdump --macho --dwarf=frames %t/x86_64.o | FileCheck %s --check-prefix=WITH-FDE7// RUN: llvm-objdump --macho --dwarf=frames %t/x86_64-no-dwarf.o | FileCheck %s --check-prefix=NO-FDE8 9// WITH-FDE: FDE10// NO-FDE-NOT: FDE11 12.text13_foo:14 .cfi_startproc15 .cfi_def_cfa_offset 816 ret17 .cfi_endproc18