[LLVMdev] DataLayout missing in isDereferenceablePointer()

Eric Christopher echristo at gmail.com
Sun Feb 8 22:08:57 PST 2015


Have you tried passing a non-null DataLayout into isDereferenceablePointer?

How are you trying to call it? Do you have a DataLayout?

-eric



On Sun Feb 08 2015 at 7:44:36 PM Ramkumar Ramachandra <artagnon at gmail.com>
wrote:

> Hi,
>
> I've been debugging this issue for many hours, and would like a sanity
> check. The issue is that DL (DataLayout) is nullptr inside
> isDereferenceablePointer() no matter what I try. Why is DataLayout
> ever nullptr (shouldn't it get defaults?), and what should I do to
> make it non-nullptr?
>
> Thanks.
>
> Ram
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150209/bc309dec/attachment.html>


More information about the llvm-dev mailing list