[LLVMdev] BasicBlock.h in the binary and in the source differ

mats petersson mats at planetcatfish.com
Thu Apr 9 09:10:32 PDT 2015


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
>



More information about the llvm-dev mailing list