8 Commits (4891eb9d5f1201ed833ec4d3dbf7fcac0f6e3cc6)

Author SHA1 Message Date
David Chisnall e8e5f1e254 Try calling the IMP directly before calling it indirectly in the block-as-method test.
This makes debugging *much* easier!
10 years ago
David Chisnall 7eeffe9d09 Rewrite the block-to-imp code so that:
- We reuse the memory allocated for blocks
- We no longer have the same physical page mapped write and execute
10 years ago
theraven c346ff1088 More header cleanups in the tests. 13 years ago
theraven d1336543d8 Build with exceptions (fixes the issue with crashes where +initialize throws)
Start adding the tests to CMake.
13 years ago
theraven f9f2e4e313 Added a function for getting the type encoding for a block returned by imp_implementationFromBlock(). 14 years ago
theraven a40f9a6e2c Fix the x86-64 non-sret trampoline, implement the sret one. 14 years ago
theraven 0a7fdcb69e Add x86 (32-bit) sret trampoline. 14 years ago
theraven 43ee8b9819 Add initial support for imp_implementationWithBlock() and friends. Currently
only works on x86 and x86-64 and doesn't work with sret functions.
14 years ago