[LLVMdev] DataLayout missing in isDereferenceablePointer()

Ramkumar Ramachandra artagnon at gmail.com
Sun Feb 8 19:38:37 PST 2015


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



More information about the llvm-dev mailing list