[llvm-dev] dump() function were inlined in Debug build ?
David Blaikie via llvm-dev
llvm-dev at lists.llvm.org
Thu Jun 27 08:52:06 PDT 2019
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.
On Wed, Jun 26, 2019 at 11:39 PM Nancy via llvm-dev <llvm-dev at lists.llvm.org>
> Dear list,
> dump() function were inlined in Debug build?
> 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
> (gdb) p V->dump()
> Cannot evaluate function -- may be inlined
> Best Regards,
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev