mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
43650cbe76
Summary: "Unknown" for platforms that were not manually added into the switch did not make sense at all. Now it prints Target + addend for all elf-machines that were not explicitly mentioned. Addresses PR21059 and PR25124. Original author: fedor.sergeev Reviewers: jyknight, espindola, fedor.sergeev Reviewed By: jyknight Subscribers: eraman, dcederman, jfb, dschuff, aheejin, llvm-commits Differential Revision: https://reviews.llvm.org/D36464 llvm-svn: 333726
9 lines
397 B
ArmAsm
9 lines
397 B
ArmAsm
// RUN: llvm-mc -filetype=obj %s -o - -triple i686-pc-linux | llvm-objdump -d -r - | FileCheck --check-prefix=32 %s
|
|
// RUN: llvm-mc -filetype=obj %s -o - -triple x86_64-pc-linux | llvm-objdump -d -r - | FileCheck --check-prefix=64 %s
|
|
|
|
// 32: 0: 83 ff 00 cmpl $0, %edi
|
|
// 32: 00000002: R_386_8 foo
|
|
// 64: 0: 83 ff 00 cmpl $0, %edi
|
|
// 64: 0000000000000002: R_X86_64_8 foo
|
|
cmp $foo@ABS8, %edi
|