LLVMSharp icon indicating copy to clipboard operation
LLVMSharp copied to clipboard

BuildLandingPad

Open onionhammer opened this issue 9 years ago • 2 comments

https://github.com/mjsabby/LLVMSharp/blob/master/IRBuilder.cs#L135

When I run sh build.sh /usr/local/lib/llvm-3.7/lib/libLLVM-3.7.1.dylib /usr/local/lib/llvm-3.7/include

I get

IRBuilder.cs(135,25): error CS1501: No overload for method `BuildLandingPad' takes `4' arguments
Generated.cs(2069,43): (Location of the symbol related to previous error)

Should this call have 5 args in LLVM 3.7?

onionhammer avatar Jan 30 '16 04:01 onionhammer

The signature could have changed between versions (I haven't checked and unfortunately I can't do it right now).

IRBuilder and other wrapper classes are still half-baked in the master branch, unfortunately. If they're causing you trouble, I'd say you can safely exclude them from your build until we merge the finished versions to the master branch. In the meantime, you can use LLVMBuilderRef instead.

TChatzigiannakis avatar Jan 31 '16 20:01 TChatzigiannakis

@onionhammer yeah they added new stuff in this, the repo is now updated. @TChatzigiannakis is right, we'll be introducing a new OOAPI in the next release, and also make it run on Linux and MacOSX on .NET Core!

mjsabby avatar May 18 '16 04:05 mjsabby