[LLVMbugs] [Bug 23593] New: MSVC Compiling Broken InlineFunction.cpp Revision 237624
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 20 07:40:53 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23593
Bug ID: 23593
Summary: MSVC Compiling Broken InlineFunction.cpp Revision
237624
Product: libraries
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Transformation Utilities
Assignee: unassignedbugs at nondot.org
Reporter: mbsteixeira at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
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.
ArrayRef<llvm::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.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150520/751a7a12/attachment.html>
More information about the llvm-bugs
mailing list