Displaying 4 results from an estimated 4 matches for "400cc2".
Did you mean:
400cc6
2016 Jun 22
2
x86: How to Force 2-byte `jmp` instruction in lowering
...p -disassemble test.bin) looks
like:
--->8 disassembly 8<---
_Z3foov:
400cb0: e9 09 00 00 00 jmp 9 <_Z3foov+0xE>
400cb5: 66 0f 1f 84 00 00 02 00 00 nopw 512(%rax,%rax)
400cbe: 55 pushq %rbp
400cbf: 48 89 e5 movq %rsp, %rbp
400cc2: 48 83 ec 10 subq $16, %rsp
400cc6: 48 bf c5 0e 40 00 00 00 00 00 movabsq $4198085, %rdi
400cd0: b0 00 movb $0, %al
400cd2: e8 a9 f9 ff ff callq -1623 <.plt+0x30>
400cd7: 89 45 fc movl %eax, -4(%rbp)
400cda: 48 83 c4 10...
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
...t;
> --->8 disassembly 8<---
> _Z3foov:
> 400cb0: e9 09 00 00 00 jmp 9 <_Z3foov+0xE>
> 400cb5: 66 0f 1f 84 00 00 02 00 00 nopw 512(%rax,%rax)
> 400cbe: 55 pushq %rbp
> 400cbf: 48 89 e5 movq %rsp, %rbp
> 400cc2: 48 83 ec 10 subq $16, %rsp
> 400cc6: 48 bf c5 0e 40 00 00 00 00 00 movabsq $4198085, %rdi
> 400cd0: b0 00 movb $0, %al
> 400cd2: e8 a9 f9 ff ff callq -1623 <.plt+0x30>
> 400cd7: 89 45 fc movl %eax, -4(%rbp)
> 4...
2016 Jun 22
0
x86: How to Force 2-byte `jmp` instruction in lowering
Hmm. Odd. I just rebuilt from scratch and it seems to work with
the test/CodeGen/X86/xray-attribute-instrumentation.ll test case outputing
straight to obj:
llc -filetype=obj -o ~/a.o -mtriple=x86_64-apple-macosx <
test/CodeGen/X86/xray-attribute-instrumentation.ll
What test case are you using?
In any case, the issue appears to be that llvm doesn't realize that the
target address is
2016 Jun 22
3
x86: How to Force 2-byte `jmp` instruction in lowering
On Wed, Jun 22, 2016 at 6:05 AM Nirav Davé <niravd at google.com> wrote:
> This appears to work:
>
> auto Target = OutContext.createLinkerPrivateTempSymbol();
>
> with
>
> auto Target = OutContext.createTempSymbol();
>
> -Nirav
>
>
Thanks Nirav -- I tried this but I'm still getting a "jmpq <address>" with
this incantation when I load and