MultiJITTest.cpp: Tweak getPointerToNamedFunction() to be aware of also Windows x64.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 11 Mar 2014 00:34:38 +0000 (00:34 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 11 Mar 2014 00:34:38 +0000 (00:34 +0000)
commit2ab1641041a6a96af5578d89e4d7f8c932cad381
treefaf4ab146d0711cb32379f46c6490b14e34cc7e7
parentfc779549980436807fb9ed721c893813cbd5e621
MultiJITTest.cpp: Tweak getPointerToNamedFunction() to be aware of also Windows x64.

In import thunk, jmp is:
  - On x86, 0xFF 0x25 [disp32].
  - On x64, 0xFF 0x25 [pcrel32].

See also my r144178.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203523 91177308-0d34-0410-b5e6-96231b3b80d8
unittests/ExecutionEngine/JIT/MultiJITTest.cpp