summaryrefslogtreecommitdiffstats
path: root/test/Object/X86/objdump-label.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/Object/X86/objdump-label.test')
-rw-r--r--test/Object/X86/objdump-label.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Object/X86/objdump-label.test b/test/Object/X86/objdump-label.test
new file mode 100644
index 0000000..f8b9334
--- /dev/null
+++ b/test/Object/X86/objdump-label.test
@@ -0,0 +1,10 @@
+RUN: llvm-objdump -d %p/../Inputs/trivial-label-test.elf-x86-64 \
+RUN: | FileCheck %s -check-prefix ELF-x86-64
+
+ELF-x86-64: file format ELF64-x86-64
+ELF-x86-64: Disassembly of section .text:
+ELF-x86-64: foo:
+ELF-x86-64: 0: 90 nop
+ELF-x86-64: bum:
+ELF-x86-64: 1: 90 nop
+