view test/DebugInfo/dwarfdump-macho-universal.test @ 107:a03ddd01be7e

resolve warnings
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Sun, 31 Jan 2016 17:34:49 +0900
parents afa8332a0e37
children 803732b1fca8
line wrap: on
line source

Reuse a test input from llvm-dsymutil, it's perfect for what we want to exercise
RUN: llvm-dwarfdump %S/Inputs/fat-test.o -debug-dump=info | FileCheck %s

CHECK: fat-test.o (x86_64):	file format Mach-O 64-bit x86-64
CHECK: DW_TAG_variable
CHECK-NOT: {{NULL|DW_TAG}}
CHECK: DW_AT_name {{.*}} "x86_64_var"

CHECK: fat-test.o (i386):	file format Mach-O 32-bit i386
CHECK: DW_TAG_variable
CHECK-NOT: {{NULL|DW_TAG}}
CHECK: DW_AT_name {{.*}} "i386_var"

CHECK: fat-test.o (x86_64h):	file format Mach-O 64-bit x86-64
CHECK: DW_TAG_variable
CHECK-NOT: {{NULL|DW_TAG}}
CHECK: DW_AT_name {{.*}} "x86_64h_var"