[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / clang / test / CodeGen / cfi-icall-va-list.c
blobff24e9989923869adb6d2c2db20273a46b020b3d
1 // RUN: %clang_cc1 -triple aarch64-unknown-linux -fsanitize=cfi-icall -fsanitize-trap=cfi-icall -emit-llvm -o - %s | FileCheck %s
3 // CHECK: define dso_local void @f({{.*}} !type [[TYPE:![0-9]+]] !type [[TYPE_GENERALIZED:![0-9]+]]
4 void f(__builtin_va_list l) {}
6 // CHECK-DAG: [[TYPE]] = !{i64 0, !"_ZTSFvSt9__va_listE"}
7 // CHECK-DAG: [[TYPE_GENERALIZED]] = !{i64 0, !"_ZTSFvSt9__va_listE.generalized"}