[ARM] Rewrite how VCMP are lowered, using a single node
[llvm-core.git] / test / tools / dsymutil / X86 / op-convert.test
blob9cdc1af3e06fc86acf8435ab98ef21d96eb772d6
1 # REQUIRES: object-emission
2 # RUN: dsymutil -f -o %t --verify -oso-prepend-path=%p/../Inputs -y %s
3 # RUN: llvm-dwarfdump %t | FileCheck %s
5 ---
6 triple:          'x86_64-apple-darwin'
7 objects:
8   - filename: op-convert.macho.x86_64
9     symbols:
10       - { sym: _foo, objAddr: 0x0, binAddr: 0x1000, size: 0x4 }
11 ...
14 CHECK:      DW_TAG_base_type
15 CHECK-NEXT:     DW_AT_name      ("DW_ATE_signed_8")
16 CHECK-NEXT:     DW_AT_encoding  (DW_ATE_signed)
17 CHECK-NEXT:     DW_AT_byte_size (0x01)
19 CHECK:   DW_TAG_base_type
20 CHECK-NEXT:     DW_AT_name      ("DW_ATE_signed_32")
21 CHECK-NEXT:     DW_AT_encoding  (DW_ATE_signed)
22 CHECK-NEXT:     DW_AT_byte_size (0x04)
24 CHECK:     DW_TAG_variable
25 CHECK-NEXT:     DW_AT_location  (
26 CHECK-NEXT:     [0x0000000000001000,  0x0000000000001002): DW_OP_breg5 RDI+0, DW_OP_constu 0xffffffff, DW_OP_and, DW_OP_convert (0x0000002a) "DW_ATE_signed_8", DW_OP_convert (0x00000031) "DW_ATE_signed_32", DW_OP_stack_value
27 CHECK-NEXT:     [0x0000000000001002,  0x0000000000001003): DW_OP_breg0 RAX+0, DW_OP_constu 0xffffffff, DW_OP_and, DW_OP_convert (0x0000002a) "DW_ATE_signed_8", DW_OP_convert (0x00000031) "DW_ATE_signed_32", DW_OP_stack_value)
28 CHECK-NEXT:     DW_AT_name      ("y")
30 CHECK:     DW_TAG_variable
31 CHECK-NEXT:     DW_AT_location  (DW_OP_constu 0x2a, DW_OP_convert (0x00000031) "DW_ATE_signed_32", DW_OP_stack_value)
32 CHECK-NEXT:     DW_AT_name      ("c")