search for: dllvm_requires_rtti

Displaying 9 results from an estimated 9 matches for "dllvm_requires_rtti".

2018 May 05
4
Slow IR compilation/JIT, profiling points to LLVM?
...sure. Could this be pointing to something I'm doing wrong in my LLVM setup, or is it just slow? I'm reasonably certain I'm compiling LLVM in optimized mode, but for reference, this is my build line:     cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_EH=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_REQUIRES_RTTI=ON -DLLVM_ENABLE_CXX1Y=ON -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_FFI=ON -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON -DCMAKE_INSTALL_PREFIX="/opt/llvm/install" The overall time split, from valgrind, between shared libraries in my code is:     80.48%, libLLVM-6.0.so     8.8...
2013 Mar 18
0
[LLVMdev] Help with LLVM 3.2 linking error
...can try building LLVM with CXXFLAGS=-frtti configure .... CXXFLAGS=-frtti make ... I'm not sure if CXXFLAGS takes precedence over the hard-coded -fno-rtti in the makefiles, though. With the cmake build, you can try as above (but replacing `configure' with `cmake') or, better: cmake -DLLVM_REQUIRES_RTTI=ON ... rest of cmake args ... Adding an option for enabling RTTI on the cmake build is trivial. Dunno about the `configure' build. You can try filing a feature request on Bugzilla.
2016 Feb 15
2
CommandLineParser problems with llvm trunk?
...t;Ninja" \ -DLLVM_BUILD_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DLLVM_LIBDIR_SUFFIX=64 \ -DCMAKE_C_FLAGS="-fuse-ld=gold -fPIC" \ -DCMAKE_CXX_FLAGS="-fuse-ld=gold -fPIC" \ -DLLVM_REQUIRES_RTTI=ON \ -DLLVM_ENABLE_TIMESTAMPS=OFF \ -DLLVM_ENABLE_ASSERTIONS=ON \ -DLLVM_ENABLE_PIC=ON \ -DLLVM_BINUTILS_INCDIR=/usr/include \ -DLLVM_TARGETS_TO_BUILD=all \ -DCLANG_DEFAULT_CXX_STDLIB=libc++ \ -DLLVM_ENABLE_LIBCXX=ON \ .. Wonder if anyone hit the same problem? Than...
2013 Mar 18
2
[LLVMdev] Help with LLVM 3.2 linking error
Il giorno 18/mar/2013, alle ore 15:14, Óscar Fuentes <ofv at wanadoo.es> ha scritto: > Nicola Gigante <nicola.gigante at gmail.com> writes: > >> The error I get is the following: >> Undefined symbols for architecture x86_64: >> "typeinfo for llvm::FoldingSetImpl", referenced from: >> typeinfo for llvm::FoldingSet<Type> in Program.o
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...hing I'm doing wrong in my LLVM setup, or > is it just slow? > > > I'm reasonably certain I'm compiling LLVM in optimized mode, but for > reference, this is my build line: > > cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_EH=ON > -DLLVM_ENABLE_RTTI=ON -DLLVM_REQUIRES_RTTI=ON -DLLVM_ENABLE_CXX1Y=ON > -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_FFI=ON > -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON > -DCMAKE_INSTALL_PREFIX="/opt/llvm/install" > > > The overall time split, from valgrind, between shared libraries in my > code is:...
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...489 Calls; llvm::PMDataManager::findAnalysisPass(void > const*, bool)'2 > I'm reasonably certain I'm compiling LLVM in optimized mode, but for > reference, this is my build line: > >     cmake .. -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_EH=ON > -DLLVM_ENABLE_RTTI=ON -DLLVM_REQUIRES_RTTI=ON -DLLVM_ENABLE_CXX1Y=ON > -DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_ENABLE_FFI=ON > -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_OPTIMIZED_TABLEGEN=ON > -DCMAKE_INSTALL_PREFIX="/opt/llvm/install" You're building LLVM with assertions enabled (-DLLVM_ENABLE_ASSERTIONS=ON). Some of those are fa...
2013 Mar 20
2
[LLVMdev] Help with LLVM 3.2 linking error
...onfigure .... > CXXFLAGS=-frtti make ... > > I'm not sure if CXXFLAGS takes precedence over the hard-coded -fno-rtti > in the makefiles, though. > > With the cmake build, you can try as above (but replacing `configure' > with `cmake') or, better: > > cmake -DLLVM_REQUIRES_RTTI=ON ... rest of cmake args ... > > Adding an option for enabling RTTI on the cmake build is trivial. Dunno > about the `configure' build. You can try filing a feature request on > Bugzilla. Ok, I've managed to refactor some code and remove uses of dynamic_cast. Making my projec...
2014 Apr 22
2
[LLVMdev] SCEV and induction variable identification
Hi Fellows, The goal is to find the induction variable for a loop, where the induction variable increments with the multiplication, division or shift operations, like this one: sz = 8; do { ... ... sz = sz / 2; } while (sz) Is SCEV capable of detecting the induction variable 'sz' in this case? The code snippet I am using to solve the problem is for each basic-block in a
2016 Feb 19
3
undefined reference to typeinfo for CmpInst
Hi all, I am having some some trouble with LLVM 3.8... I built it with GCC 4.8.2 with cmake and no special CXX/C flags. That means in case of GCC that RTTI is switched on, I believe. However, building my MCJIT application against the just built LLVM and linking results in: libqdp.a(qdp_llvm.o):(.rodata._ZTIN4llvm8FCmpInstE[_ZTIN4llvm8FCmpInstE]+0x10): undefined reference to `typeinfo for