Hello everyone,
I build LLVM9 from source with cmake with options -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_PROJECTS='clang -DLLVM_BUILD_LLVM_DYLIB=True -DLLVM_LINK_LLVM_DYLIB=True
on Ubuntu 20.04. But now in libLLVM-9.so I have symbol
_ZTVN4llvm13ErrorInfoBaseE
but no symbols
_ZTIN4llvm13ErrorInfoBaseE
_ZTSN4llvm13ErrorInfoBaseE
I really dont know what is it, but I need it for build accelerate-blas for my haskell project. In apt package all symbols are exists. What is my problem?
$ c++filt _ZTIN4llvm13ErrorInfoBaseE
typeinfo for llvm::ErrorInfoBase
This is “demangling” the symbol and tells us that this symbol is a “typeinfo”.
The “typeinfo” is used for RTTI and exception support in C++, which is disabled by default in LLVM, but you can enable it with -DLLVM_ENABLE_RTTI=ON
.
thank you very much!!!