Lefteris Karapetsas
0ff32f7710
Detect existence of llvm 3.7 or 3.8 dev package
Determine if the user has llvm3.7-dev or llvm3.8-dev package in Ubuntu
and configure cmake accordingly
10 years ago
Lefteris Karapetsas
b64bf6d616
Temporarily use llvm3.8-dev in Ubuntu
Ubuntu 14.04 replaced llvm3.7-dev with llvm3.8-dev in anticipation of llvm 3.7 release.
We are forced to use the 3.8-dev package until llvm 3.7 release.
10 years ago
Paweł Bylica
2565fe1fa7
Fix EVM JIT stack limit checking.
Tests inlcuded.
10 years ago
Paweł Bylica
6e75177190
Fix MSVC problems with decltype()
10 years ago
Paweł Bylica
b8e969093e
Reimplement InsertPointGuard to avoid LLVM ABI incompatibility.
In general, the NDEBUG flag should match cpp-ethereum and LLVM builds. But this is hard to satisfy as we usually have one system-wide build of LLVM and different builds of cpp-ethereum. This ABI incompatibility hit OSX only in release builds as LLVM is built by homebrew with assertions by default.
10 years ago
Paweł Bylica
1d4eeb3a66
Fix evmjit Windows exports.
10 years ago
Paweł Bylica
e1634a9dcb
Clean up evmjit cmake files. Assign compiler flags to target.
10 years ago
Paweł Bylica
e140fce280
Add support for cmake 2.8.
10 years ago
Paweł Bylica
a9024e5e90
Set EVM JIT version in cmake script.
10 years ago
Paweł Bylica
3dbf11468f
Check LLVM version manually.
10 years ago
Paweł Bylica
38fc24db9f
Ignore LLVM version requirements in cmake
Currently brew installs version 3.8 as 3.7 has been branched. Version 3.7 is not available in homebrew as it has not been released yet. Ignore LLVM version requirement until 3.7 is released.
10 years ago
arkpar
a6194d2d21
fixed build
10 years ago
Gav Wood
e14d000bea
All fields of BlockInfo now private.
10 years ago
arkpar
b3a1bfea4c
fixed build
10 years ago
Gav Wood
f693ac0cc4
All fields of BlockInfo now private.
10 years ago
arkpar
f817397991
fixed build
10 years ago
Gav Wood
ff2f952184
All fields of BlockInfo now private.
10 years ago
arkpar
438d8882ae
fixed build
10 years ago
Gav Wood
1e6bf809b4
All fields of BlockInfo now private.
10 years ago
Paweł Bylica
62218435dc
Reenable broken llvm-3.7-dev package workaround.
10 years ago
arkpar
ef0d9a96fb
fixed build
10 years ago
Gav Wood
5ee3e8e5fc
All fields of BlockInfo now private.
10 years ago
arkpar
e7f34beb45
fixed eth_copy_dlls
reverted libsecp256k1 changes
10 years ago
arkpar
63ef6a74f9
reverted libsecp256k1 changes
10 years ago
arkpar
659858f6c0
fixed build
10 years ago
arkpar
016ce6964f
copy evmjit dll to output on windows
10 years ago
Gav Wood
487349bf09
All fields of BlockInfo now private.
10 years ago
Paweł Bylica
4039227faa
Extend JIT interface to allow only compilation of EVM code.
Make code availability checking thread-safe.
10 years ago
Paweł Bylica
d036c6dc16
Separate compile and execute jobs in JIT.
10 years ago
Paweł Bylica
9d59ebb645
Cleanups.
10 years ago
Paweł Bylica
b4ee363394
Cleanups.
10 years ago
Paweł Bylica
ffc416e97e
Another LLVM bug workaround.
10 years ago
Paweł Bylica
02c2829677
Better BYTE fix.
10 years ago
Paweł Bylica
6d7350f3ed
Fix for incorrect BYTE instruction results.
It is actually a LLVM bug workaround.
10 years ago
Paweł Bylica
773c2303d8
Do not compute code hash twice in VM test engine.
10 years ago
Paweł Bylica
b2345b982b
Cleanup issues reported by clang.
10 years ago
Paweł Bylica
58c1730105
Add support for clang sanitizer to cmake scripts.
To build with the sanitizer support use clang compiler and set CMAKE_BUILD_TYPE to "DebugSan".
More info: http://clang.llvm.org/docs/AddressSanitizer.html .
10 years ago
Paweł Bylica
9ae15d5474
Set required LLVM version to 3.7.
10 years ago
Paweł Bylica
efd1ff7bb5
Update llvm::IRBuilder::CreateCall to new API version.
Buildbot bump.
10 years ago
Paweł Bylica
4b5a036a6b
Suppress LLVM compile warnings.
10 years ago
Paweł Bylica
3ed12d4851
Remove LLVM cmake files workaround.
10 years ago
Paweł Bylica
7a276c2eee
Disable some warnings in LLVM headers for GCC/clang compilers.
10 years ago
Paweł Bylica
6ff348f383
Fix unaligned copy.
10 years ago
Paweł Bylica
3f1944141c
Release aquired arg allocas in Ext::calldataload.
10 years ago
Paweł Bylica
f866a3ab08
Remove debug message.
10 years ago
Paweł Bylica
62af7a08a1
Skip all STOPs in the end in EVM JIT compiler
10 years ago
Paweł Bylica
17f66be28a
Disable some warnings in LLVM headers for GCC/clang compilers.
10 years ago
Paweł Bylica
8b747d165c
Protect EVM JIT cache with mutex.
Fixes ethereum/cpp-ethereum#2086 .
10 years ago
Paweł Bylica
af95ae6a2d
Remove memory leak detector. Is it not thread-safe.
10 years ago
arkpar
4787970b0d
codeHash in ExtVM
10 years ago