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.
5 lines
180 B
C
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
|