mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
2381e3a0ed
First step done in this commit is to get flush out enough of the SymbolizerGetOpInfo() routine to symbolic an X86_64 hello world .o and its loading of the literal string and call to printf. Also the code to symbolicate the X86_64_RELOC_SUBTRACTOR relocation and a test is also added to show a slightly more complicated case. Next will be to flush out enough of SymbolizerSymbolLookUp() to get the literal string “Hello world” printed as a comment on the instruction that load the pointer to it. llvm-svn: 217893
11 lines
177 B
Plaintext
11 lines
177 B
Plaintext
# RUN: llvm-mc < %s -triple x86_64-apple-darwin -filetype=obj | llvm-objdump -m -d - | FileCheck %s
|
|
|
|
nop
|
|
x:
|
|
leaq x-y(%rax), %rbx
|
|
.data
|
|
y:
|
|
.quad 0
|
|
|
|
# CHECK: leaq x-y(%rax), %rbx
|