brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.3 KiB · 836eb0b Raw
78 lines · plain
1@ RUN: llvm-mc -triple armv7-eabi -filetype obj -o - %s | llvm-readelf -s - | FileCheck %s2 3@ RUN: llvm-mc -triple armv7-eabi -filetype asm -o - %s \4@ RUN:   | FileCheck --check-prefix=ASM %s5 6@ CHECK:      Num:    Value  Size Type    Bind   Vis      Ndx Name7@ CHECK-NEXT:   0: 00000000     0 NOTYPE  LOCAL  DEFAULT  UND8@ CHECK-NEXT:   1: 00000000     0 FUNC    LOCAL  DEFAULT    2 arm_func9@ CHECK-NEXT:   2: 00000000     0 NOTYPE  LOCAL  DEFAULT    2 $a10@ CHECK-NEXT:   3: 00000001     0 FUNC    LOCAL  DEFAULT    2 alias_arm_func11@ CHECK-NEXT:   4: 00000001     0 FUNC    LOCAL  DEFAULT    2 alias_arm_func212@ CHECK-NEXT:   5: 00000001     0 FUNC    LOCAL  DEFAULT    2 alias_arm_func313@ CHECK-NEXT:   6: 00000005     0 FUNC    LOCAL  DEFAULT    2 thumb_func14@ CHECK-NEXT:   7: 00000004     0 NOTYPE  LOCAL  DEFAULT    2 $t15@ CHECK-NEXT:   8: 00000005     0 FUNC    LOCAL  DEFAULT    2 alias_thumb_func16@ CHECK-NEXT:   9: 5eed1e55     0 FUNC    LOCAL  DEFAULT  ABS seedless17@ CHECK-NEXT:  10: e665a1ad     0 FUNC    LOCAL  DEFAULT  ABS eggsalad18@ CHECK-NEXT:  11: face1e55     0 FUNC    LOCAL  DEFAULT  ABS faceless19@ CHECK-NEXT:  12: 00000000     0 OBJECT  LOCAL  DEFAULT    3 alias_undefined_data20@ CHECK-NEXT:  13: 00000000     0 OBJECT  LOCAL  DEFAULT    3 badblood21@ CHECK-NEXT:  14: 00000004     0 OBJECT  LOCAL  DEFAULT    3 bedazzle22@ CHECK-NEXT:  15: 00000005     0 FUNC    LOCAL  DEFAULT    3 alias_defined_data23@ CHECK-NEXT:  16: 00000007     0 FUNC    LOCAL  DEFAULT    2 alpha24@ CHECK-NEXT:  17: 00000007     0 FUNC    LOCAL  DEFAULT    2 beta25 26	.syntax unified27 28	.arm29 30	.type arm_func,%function31arm_func:32	nop33 34	.thumb_set alias_arm_func, arm_func35 36        alias_arm_func2 = alias_arm_func37        alias_arm_func3 = alias_arm_func238 39@ ASM: .thumb_set alias_arm_func, arm_func40 41	.thumb42 43	.type thumb_func,%function44	.thumb_func45thumb_func:46	nop47 48	.thumb_set alias_thumb_func, thumb_func49 50	.thumb_set seedless, 0x5eed1e5551	.thumb_set eggsalad, seedless + 0x8778835852	.thumb_set faceless, ~eggsalad + 0xe133c00253 54	.thumb_set alias_undefined_data, badblood55 56	.data57 58	.type badblood,%object59badblood:60	.long 0xbadb100d61 62	.type bedazzle,%object63bedazzle:64	.long 0xbeda221e65 66	.text67	.thumb68 69	.thumb_set alias_defined_data, bedazzle70 71	.type alpha,%function72alpha:73	nop74 75        .type beta,%function76 77	.thumb_set beta, alpha78