<div dir="ltr">I guess V is an llvm::Value? Looks like you're only building clang and lld, not llvm itself (using a pre-installed/pre-built version of llvm?) - so these build options aren't impacting how llvm itself was built, and that's where llvm::Value's dump function would be. I guess you've probably got a release build of llvm, which wouldn't have any dump functions in it.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 26, 2019 at 11:39 PM Nancy via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear list,</div><div><br></div><div>dump() function were inlined in Debug build?</div><div><br></div><div>cmake -G "Unix Makefiles" ../rpp_clang/llvm -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_PROJECTS="clang;lld" -DLLVM_TARGETS_TO_BUILD="X86;NVPTX;" -DLLVM_USE_LINKER=gold -DLLVM_USE_SPLIT_DWARF=1</div><div><br></div><div></div><div>(gdb) p V->dump()<br>Cannot evaluate function -- may be inlined</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_-1019685491748449008gmail_signature">Best Regards,<br></div><div class="gmail-m_-1019685491748449008gmail_signature">Nancy<br></div></div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>