diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Object/Inputs/macho-data-in-code.macho-thumbv7 | bin | 0 -> 680 bytes | |||
-rw-r--r-- | test/Object/X86/macho-data-in-code.test | 7 |
2 files changed, 7 insertions, 0 deletions
diff --git a/test/Object/Inputs/macho-data-in-code.macho-thumbv7 b/test/Object/Inputs/macho-data-in-code.macho-thumbv7 Binary files differnew file mode 100644 index 0000000..5764930 --- /dev/null +++ b/test/Object/Inputs/macho-data-in-code.macho-thumbv7 diff --git a/test/Object/X86/macho-data-in-code.test b/test/Object/X86/macho-data-in-code.test new file mode 100644 index 0000000..dca084c --- /dev/null +++ b/test/Object/X86/macho-data-in-code.test @@ -0,0 +1,7 @@ +RUN: llvm-objdump -triple thumbv7-apple-iOS -disassemble %p/../Inputs/macho-data-in-code.macho-thumbv7 -macho | FileCheck %s + +CHECK: 12: 80 bd pop {r7, pc} + +CHECK: 14: 38 00 00 00 .long 56 @ KIND_DATA +CHECK: 16: 00 00 movs r0, r0 + |