RFC: Shark LLVM 3.0svn support

Xerxes Rånby xerxes at zafena.se
Wed Aug 31 05:18:10 PDT 2011


ons 2011-08-31 klockan 10:56 +0300 skrev Xerxes Rånby:
> Hi all Zero/Shark hackers!

> 2-sharkllvm30-PHI-128537-Call-ArrayRef-135265.patch:
...
> The CreateCall API change made it mandatory to pass multiple arguments to CreateCall 
> inside a ArrayRef. I have solved this by wrapping the existing argument/parameter arrays 
> in a llvm::makeArrayRef() call.
> http://llvm.org/viewvc/llvm-project?view=rev&revision=135265

I have attached an updated version of this patch 
2-sharkllvm30-PHI-128537-Call-ArrayRef-135265-v2.patch:

this solves a llvm/lib/VMCore/Value.cpp:175: void
llvm::Value::setName(const llvm::Twine&): Assertion `!
getType()->isVoidTy() && "Cannot assign a name to void values!"' failed.
assertion error.

Cheers
Xerxes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-sharkllvm30-PHI-128537-Call-ArrayRef-135265-v2.patch
Type: text/x-patch
Size: 10656 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20110831/84df7a03/attachment.bin 


More information about the zero-dev mailing list