[llvm-dev] How to build LLVM such that `llvm::Module::dump() const' is preserved?
Krzysztof Parzyszek via llvm-dev
llvm-dev at lists.llvm.org
Fri Feb 22 15:02:42 PST 2019
On 2/22/2019 4:05 PM, Yuri via llvm-dev wrote:
> The FreeBSD port for the Intel's ISPC compiler fails to build because it
> can't find this symbol:
>
> |llvmutil.cpp:(.text+0x3d60): undefined reference to
> `llvm::Value::dump() const' How to build LLVM to preserve these symbols?
> I suspect there is a cmake switch for this? Thank you, Yuri |
>
Use -DLLVM_ENABLE_ASSERTIONS=ON, or -DLLVM_ENABLE_DUMP=ON with cmake.
-Krzysztof
More information about the llvm-dev
mailing list