Files
clang-p2996/clang/test/Driver/win-macho-unwind.c
Fangrui Song 7647a8413b Fix -fno-unwind-tables -fasynchronous-unwind-tables to emit unwind tables
This matches GCC.

Change the CC1 option to encode the unwind table level (1: needed by exceptions,
2: asynchronous) so that we can support two modes in the future.
2021-09-23 16:15:40 -07:00

5 lines
180 B
C

// RUN: %clang -target x86_64-pc-win32-macho -### -S %s -o %t.s 2>&1 | FileCheck %s
// Do not add function attribute "uwtable" for macho targets.
// CHECK-NOT: -funwind-tables=2