Closed
Description
Bugzilla Link | 23593 |
Resolution | WORKSFORME |
Resolved on | Jun 15, 2015 14:15 |
Version | trunk |
OS | Windows NT |
Reporter | LLVM Bugzilla Contributor |
CC | @zmodem,@rnk |
Extended Description
The following line has been changed to :
// Insert the llvm.stacksave.
CallInst *SavedPtr = IRBuilder<>(FirstNewBlock, FirstNewBlock->begin())
.CreateCall(StackSave, {}, "savedstack");
Generating a MSVC compiler error.
The work around is :
// Insert the llvm.stacksave.
ArrayRefllvm::Value* args;
CallInst *SavedPtr = IRBuilder<>(FirstNewBlock, FirstNewBlock->begin())
.CreateCall(StackSave, args, "savedstack");
The bug is not of the LLVM, it's a MS CL bug.