| Hemant Kulkarni | 5b60f63 | 2016-08-25 19:41:08 +0000 | [diff] [blame] | 1 | // RUN: llvm-mc %s -filetype=obj -triple=x86_64-pc-linux | llvm-objdump -d - | FileCheck %s |
| 2 | .text | ||||
| 3 | .globl foo | ||||
| 4 | .type foo, @function | ||||
| 5 | foo: | ||||
| 6 | pushq %rbp | ||||
| 7 | movq %rsp, %rbp | ||||
| 8 | movl $0, %eax | ||||
| 9 | popq %rbp | ||||
| 10 | ret | ||||
| 11 | |||||
| 12 | .globl bar | ||||
| 13 | .type bar, @object | ||||
| 14 | bar: | ||||
| 15 | .string "test string" | ||||
| 16 | |||||
| 17 | // CHECK: b: 74 65 73 74 20 73 74 72 test str | ||||
| 18 | // CHECK-NEXT: 13: 69 6e 67 00 ing. | ||||
| 19 | |||||