Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git] / clang / test / CodeGen / debug-info-names.c
bloba807fb8c06696caa336989818f6e31e6840ecd62
1 // RUN: %clang_cc1 -triple x86_64-unknown-linux -emit-llvm -debug-info-kind=limited %s -o - | FileCheck %s
2 // RUN: %clang_cc1 -triple x86_64-apple-macosx10.10.0 -emit-llvm -debug-info-kind=limited %s -o - | FileCheck --check-prefix=APPLE %s
3 // RUN: %clang_cc1 -triple x86_64-unknown-linux -emit-llvm -debug-info-kind=limited %s -o - -gpubnames | FileCheck --check-prefix=DEFAULT %s
4 // RUN: %clang_cc1 -triple x86_64-unknown-linux -emit-llvm -debug-info-kind=limited %s -o - -ggnu-pubnames | FileCheck --check-prefix=GNU %s
6 // CHECK: !DICompileUnit({{.*}}, nameTableKind: None
7 // DEFAULT-NOT: !DICompileUnit({{.*}}, nameTableKind:
8 // GNU: !DICompileUnit({{.*}}, nameTableKind: GNU
9 // APPLE: !DICompileUnit({{.*}}, nameTableKind: Apple
11 void f1(void) {