Zhoulai
2015-Apr-09 15:58 UTC
[LLVMdev] BasicBlock.h in the binary and in the source differ
Hi, I am using LLVM to develop a tool, using Mac OS 10.9. I have download llvm source and binary from http://llvm.org/releases/download.html I just find the BasicBlock.h file of the binary package clang+llvm-3.6.0-x86_64-apple-darwin/include/llvm/IR/BasicBlock.h is slightly different from that of the source llvm/include/llvm/IR/BasicBlock.h In particular, llvm:: getModule(..) is included in the latter BasicBlock.h but not in the former BasicBlock.h. Am I misunderstanding something or is it an inconsistency LLVM developers will fix? Thanks in advance. Zhoulai -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150409/ce905373/attachment.html>
mats petersson
2015-Apr-09 16:10 UTC
[LLVMdev] BasicBlock.h in the binary and in the source differ
What version is your source? Header files like this are updated quite frequently, so unless you are actually using the very same version, it may simply be that "version X has that function, and version Y doesn't" (based on X != Y). -- Mats On 9 April 2015 at 16:58, Zhoulai <zell08v at gmail.com> wrote:> Hi, I am using LLVM to develop a tool, using Mac OS 10.9. I have download > llvm source and binary from > > http://llvm.org/releases/download.html > > I just find the BasicBlock.h file of the binary package > > clang+llvm-3.6.0-x86_64-apple-darwin/include/llvm/IR/BasicBlock.h > > is slightly different from that of the source > > llvm/include/llvm/IR/BasicBlock.h > > In particular, llvm:: getModule(..) is included in the latter BasicBlock.h > but not in the former BasicBlock.h. Am I misunderstanding something or is > it an inconsistency LLVM developers will fix? > > Thanks in advance. > > > Zhoulai > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >
Jonathan Roelofs
2015-Apr-09 16:15 UTC
[LLVMdev] BasicBlock.h in the binary and in the source differ
On 4/9/15 9:58 AM, Zhoulai wrote:> Hi, I am using LLVM to develop a tool, using Mac OS 10.9. I have > download llvm source and binary from > > http://llvm.org/releases/download.html > > I just find the BasicBlock.h file of the binary package > > clang+llvm-3.6.0-x86_64-apple-darwin/include/llvm/IR/BasicBlock.h > > is slightly different from that of the source > > llvm/include/llvm/IR/BasicBlock.hWhere specifically did you download the source from?> > In particular, llvm:: getModule(..) is included in the latter > BasicBlock.h but not in the former BasicBlock.h. Am I misunderstanding > something or is it an inconsistency LLVM developers will fix? > > Thanks in advance. > > > Zhoulai > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-- Jon Roelofs jonathan at codesourcery.com CodeSourcery / Mentor Embedded
Zhoulai
2015-Apr-09 16:17 UTC
[LLVMdev] BasicBlock.h in the binary and in the source differ
The source is cloned from https://github.com/llvm-mirror/llvm Thanks. Zhoulai On Thu, Apr 9, 2015 at 9:15 AM, Jonathan Roelofs <jonathan at codesourcery.com> wrote:> > > On 4/9/15 9:58 AM, Zhoulai wrote: > >> Hi, I am using LLVM to develop a tool, using Mac OS 10.9. I have >> download llvm source and binary from >> >> http://llvm.org/releases/download.html >> >> I just find the BasicBlock.h file of the binary package >> >> clang+llvm-3.6.0-x86_64-apple-darwin/include/llvm/IR/ >> BasicBlock.h >> >> is slightly different from that of the source >> >> llvm/include/llvm/IR/BasicBlock.h >> > > Where specifically did you download the source from? > > >> In particular, llvm:: getModule(..) is included in the latter >> BasicBlock.h but not in the former BasicBlock.h. Am I misunderstanding >> something or is it an inconsistency LLVM developers will fix? >> >> Thanks in advance. >> >> >> Zhoulai >> >> >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >> >> > -- > Jon Roelofs > jonathan at codesourcery.com > CodeSourcery / Mentor Embedded >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150409/470153c8/attachment.html>