1RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \ 2RUN: | llvm-dwarfdump -find=not_there_at_all - | \ 3RUN: FileCheck %s --check-prefix=EMPTY --allow-empty 4EMPTY: {{^$}} 5 6RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \ 7RUN: | llvm-dwarfdump -find=main - | FileCheck %s 8CHECK: : DW_TAG_subprogram 9CHECK-NOT: {{:}} 10CHECK: DW_AT_name ("main") 11CHECK-NOT: {{:}} 12 13RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/libfat-test.a \ 14RUN: -find=x86_64h_var -find=i386_var \ 15RUN: | FileCheck %s --check-prefix=MULTI 16MULTI: libfat-test.a(i386) 17MULTI-NOT: {{: DW}} 18MULTI: : DW_TAG_variable 19MULTI-NOT: {{: DW}} 20MULTI: DW_AT_name ("i386_var") 21MULTI: libfat-test.a(x86_64h) 22MULTI-NOT: {{: DW}} 23MULTI: : DW_TAG_variable 24MULTI-NOT: {{: DW}} 25MULTI: DW_AT_name ("x86_64h_var") 26MULTI-NOT: {{: DW}} 27 28RUN: llvm-mc %S/brief.s -filetype obj -triple x86_64-apple-darwin -o - \ 29RUN: | llvm-dwarfdump -find=int - | FileCheck %s --check-prefix=TYPES 30TYPES: : DW_TAG_base_type 31TYPES-NOT: {{:}} 32TYPES: DW_AT_name ("int") 33TYPES-NOT: {{:}} 34 35RUN: llvm-dwarfdump %S/../../dsymutil/Inputs/odr-anon-namespace/1.o \ 36RUN: -find="(anonymous namespace)" \ 37RUN: | FileCheck %s --check-prefix=NAMESPACE 38NAMESPACE-NOT: {{: DW}} 39NAMESPACE: 0x0000005b: DW_TAG_namespace 40NAMESPACE-NOT: {{: DW}} 41