search for: dllvm_enable_eh

Displaying 20 results from an estimated 23 matches for "dllvm_enable_eh".

2019 Oct 28
2
How to Switch to Static Runtime and Enable C++ Exceptions?
...idn't work. Specifying these on the CXXFLAGS environment variable didn't do anything either. I was using the same session of the Developer Command Prompt, but I made sure to run "refreshenv" to take the new environment from the registry before continuing. I did try to do "-DLLVM_ENABLE_EH=On" but I still got a warning from CMake (from benchmarks/CMakeLists.txt, if I recall correctly) saying that using std::regex with exceptions disabled isn't fully supported. Any help is appreciated. Thanks in advance (I also sent an email on the CMake mailing list, by the way). ---------...
2019 Oct 28
4
How to Switch to Static Runtime and Enable C++ Exceptions?
...ommand "cmake -S../llvm -G"Visual Studio 16 2019" -Thost=x64 -DCMAKE_INSTALL_PREFIX=../install -DCMAKE_BUILD_TYPE=Release -DCMAKE_MSVC_RUNTIME_LIBRARY=MT -DCMAKE_CXX_FLAGS="/permissive- /EHsc /std:c++17 /O2 /MT /D_SILENCE_ALL_CXX_DEPRECATION_WARNINGS" -DLLVM_ENABLE_RTTI=On -DLLVM_ENABLE_EH=ON -DCMAKE_CXX_STANDARD=17 -DPYTHON_HOME=C:/Users/Osman/AppData/Local/Programs/Python/Python38 -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;lldb;libcxx;libcxxabi"". But I still get "Using Release VC++ CRT: MD", and also the CMake warning: "CMake Warning at util...
2018 May 05
4
Slow IR compilation/JIT, profiling points to LLVM?
...t understand LLVM's architecture to be 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 m...
2019 Jan 08
2
[LLD] [WASM] wasm/function-index.test failing
Are you using static linking, -DBUILD_SHARED_LIBS, or -DLLVM_LINK_LLVM_DYLIB? On Tue, Jan 8, 2019 at 7:21 AM David Greene via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Rui Ueyama <ruiu at google.com> writes: > > > I cannot reproduce this error, but this could be real. > > > > David, is this reproducible every time or is this flaky? > > It's
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
...I_INCLUDE_DIR=$DESTROOT/lib/libffi-3.0.11/include \ -DFFI_LIBRARY_DIR=$DESTROOT/lib \ -DGCC_INSTALL_PREFIX=$GCC_ROOT \ -DLLVM_BINUTILS_INCDIR=${DESTROOT}/include \ -DLLVM_BUILD_32_BITS=OFF \ -DLLVM_BUILD_EXAMPLES=ON \ -DLLVM_ENABLE_CXX1Y=ON \ -DLLVM_ENABLE_EH=ON \ -DLLVM_ENABLE_FFI=ON \ -DLLVM_ENABLE_LIBCXX=ON \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_THREADS=ON \ -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_INCLUDE_EXAMPLES=ON \ -DLLVM_INCLUDE_UTILS=ON \ -DLLVM_OPTIMIZED_TABLEGEN=ON \ -DLLVM_PARAL...
2019 Oct 30
2
Recent LLVM Build Attempt -- obj.ClangAST.vcxproj Failed to Build
I configured with this command: " cmake ../llvm -G"Visual Studio 16 2019" -A Win32 -Thost=x64 -DLLVM_ENABLE_EH=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_CRT_RELEASE=MT -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;lld;libcxx;libcxxabi" -DCMAKE_CXX_FLAGS="/permissive- /D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS" -DCMAKE_CXX_STANDARD=17 " and when building the tar...
2016 Oct 24
2
RuntimeDyLdCOFF and RTTI on Windows
...e issue is reproducible with lli, it's probably unrelated to the COFF > implementation as originally stated. > I built LLVM and Clang from release39 HEAD and used both, clang and lli > from this build. OS versions and CMake flags are: > > * OSX 10.10.6 with -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_EH=ON > -DLLVM_TARGETS_TO_BUILD=X86 > * Windows 10 64bit OS Build 14393.222 with -DLLVM_ENABLE_RTTI=ON > -DLLVM_ENABLE_EH=ON -DLLVM_TARGETS_TO_BUILD=X86 -DLLVM_USE_CRT_DEBUG=MDd > -DLLVM_USE_CRT_RELEASE=MD > > Hope this helps nailing down the issue. Maybe I can help fixing it, if you...
2019 Nov 18
2
Crash using exceptions
Hello, I get a crash in my program that uses exceptions and the LLVM JIT, even though the exceptions are controlled and thrown/catched in a part that doesn't deal with LLVM. I noticed that llvm-config --cxxflags includes the -fno-exceptions flag. Do I need to throw no exceptions whatsoever in my application to use LLVM JIT? As a minimal example, I modified the code in
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...gt; > > 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 valg...
2016 Mar 14
2
LLVM-3.8.0 libcxx in-tree build fails with cmath error ::signbit has not been declared
...I_INCLUDE_DIR=$DESTROOT/lib/libffi-3.0.11/include \ -DFFI_LIBRARY_DIR=$DESTROOT/lib \ -DGCC_INSTALL_PREFIX=$GCC_ROOT \ -DLLVM_BINUTILS_INCDIR=${DESTROOT}/include \ -DLLVM_BUILD_32_BITS=OFF \ -DLLVM_BUILD_EXAMPLES=ON \ -DLLVM_ENABLE_CXX1Y=ON \ -DLLVM_ENABLE_EH=ON \ -DLLVM_ENABLE_FFI=ON \ -DLLVM_ENABLE_LIBCXX=ON \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_ENABLE_THREADS=ON \ -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_INCLUDE_EXAMPLES=ON \ -DLLVM_INCLUDE_UTILS=ON \ -DLLVM_OPTIMIZED_TABLEGEN=ON \ -DLLVM_PARAL...
2016 Oct 07
3
RuntimeDyLdCOFF and RTTI on Windows
HI Stefan, CC'ing Reid Kleckner, who might have some insight here, and llvm-dev as this may be of interest to other windows JIT users. I am facing the issue that C++ dynamic_cast doesn't work for types > loaded from object files with RuntimeDyLd. <snip> Do you think it is possible that RuntimeDyLd misses type info data in > the COFF file or doesn't wire it up
2018 May 05
0
Slow IR compilation/JIT, profiling points to LLVM?
...*) <cycle 4> > >     4.54%; 3,722,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...
2018 Sep 10
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...clang \     -DCMAKE_CXX_COMPILER=clang++ \     -DCMAKE_C_FLAGS="-fPIC" \     -DCMAKE_CXX_FLAGS="-std=c++11 -fPIC" \     -DLLVM_BUILD_LLVM_DYLIB=ON \     -DLLVM_LINK_LLVM_DYLIB=ON \     -DLLVM_INSTALL_UTILS=ON \     -DLLVM_ENABLE_RTTI=ON \     -DLLVM_ENABLE_FFI=ON \     -DLLVM_ENABLE_EH=ON \     -DLLVM_BUILD_TESTS=ON \     -DLLVM_BUILD_DOCS=OFF \     -DLLVM_ENABLE_SPHINX=OFF \     -DLLVM_ENABLE_DOXYGEN=OFF \     -DLLDB_DISABLE_LIBEDIT=1 \     -DSPHINX_WARNINGS_AS_ERRORS=OFF \     -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \     -DFFI_LIBRARY_DIR:PATH=&quo...
2017 Apr 09
2
Possible stack corruption during call to JITSymbol::getAddress()
...g environment variables: CC=/usr/bin/clang CXX=/usr/bin/clang++ Commands used to build LLVM: git clone https://github.com/llvm-mirror/llvm.git git checkout release_40 cd llvm mkdir build cd build cmake .. -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON -DLLVM_ENABLE_RTTI:BOOL=ON -DLLVM_ENABLE_EH:BOOL=ON -DLLVM_USE_SANITIZER:STRING=Address -DLLVM_PARALLEL_COMPILE_JOBS:STRING=8 -DLLVM_ENABLE_ASSERTIONS:BOOL=ON cmake --build . -- -j 8 sudo cmake --build . --target install Command used to build test case executable: clang test.cpp -std=c++14 -lstdc++ -lLLVM-4.0 -Wall -pedantic -W...
2017 Apr 17
2
Possible stack corruption during call to JITSymbol::getAddress()
...t; Commands used to build LLVM: >> >> git clone https://github.com/llvm-mirror/llvm.git >> git checkout release_40 >> cd llvm >> mkdir build >> cd build >> cmake .. -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON -DLLVM_ENABLE_RTTI:BOOL=ON >> -DLLVM_ENABLE_EH:BOOL=ON -DLLVM_USE_SANITIZER:STRING=Address >> -DLLVM_PARALLEL_COMPILE_JOBS:STRING=8 -DLLVM_ENABLE_ASSERTIONS:BOOL=ON >> cmake --build . -- -j 8 >> sudo cmake --build . --target install >> >> Command used to build test case executable: >> >> cla...
2020 Apr 23
7
Cannot build master
...c9c61f8b0a223e08f43498abb64f5e8, I cannot build LLVM. I configured with: CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/llvm11-git \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_BUILD_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DBUILD_SHARED_LIBS=OFF \ -DLLVM_ENABLE_EH=ON \ -DLLVM_ENABLE_RTTI=ON \ -DLLVM_HOST_TRIPLE=x86_64-pc-linux-gnu \ -DLLVM_TARGETS_TO_BUILD="AMDGPU;MSP430;WebAssembly;X86" \ -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="AVR" \ -DLLVM_ENABLE_PROJECTS="all" \ -G "Ninja&qu...
2018 Sep 11
3
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...S="-fPIC" \ >> -DCMAKE_CXX_FLAGS="-std=c++11 -fPIC" \ >> -DLLVM_BUILD_LLVM_DYLIB=ON \ >> -DLLVM_LINK_LLVM_DYLIB=ON \ >> -DLLVM_INSTALL_UTILS=ON \ >> -DLLVM_ENABLE_RTTI=ON \ >> -DLLVM_ENABLE_FFI=ON \ >> -DLLVM_ENABLE_EH=ON \ >> -DLLVM_BUILD_TESTS=ON \ >> -DLLVM_BUILD_DOCS=OFF \ >> -DLLVM_ENABLE_SPHINX=OFF \ >> -DLLVM_ENABLE_DOXYGEN=OFF \ >> -DLLDB_DISABLE_LIBEDIT=1 \ >> -DSPHINX_WARNINGS_AS_ERRORS=OFF \ >> -DFFI_INCLUDE_DIR=$(pkg-config -...
2017 Apr 20
2
Possible stack corruption during call to JITSymbol::getAddress()
...; git clone https://github.com/llvm-mirror/llvm.git >>>> git checkout release_40 >>>> cd llvm >>>> mkdir build >>>> cd build >>>> cmake .. -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON >>>> -DLLVM_ENABLE_RTTI:BOOL=ON -DLLVM_ENABLE_EH:BOOL=ON >>>> -DLLVM_USE_SANITIZER:STRING=Address -DLLVM_PARALLEL_COMPILE_JOBS:STRING=8 >>>> -DLLVM_ENABLE_ASSERTIONS:BOOL=ON >>>> cmake --build . -- -j 8 >>>> sudo cmake --build . --target install >>>> >>>> Command used...
2018 Sep 12
2
OpenJDK8 failed to work after compiled by LLVM 8 for X86
...FLAGS="-std=c++11 -fPIC" \ >>>> -DLLVM_BUILD_LLVM_DYLIB=ON \ >>>> -DLLVM_LINK_LLVM_DYLIB=ON \ >>>> -DLLVM_INSTALL_UTILS=ON \ >>>> -DLLVM_ENABLE_RTTI=ON \ >>>> -DLLVM_ENABLE_FFI=ON \ >>>> -DLLVM_ENABLE_EH=ON \ >>>> -DLLVM_BUILD_TESTS=ON \ >>>> -DLLVM_BUILD_DOCS=OFF \ >>>> -DLLVM_ENABLE_SPHINX=OFF \ >>>> -DLLVM_ENABLE_DOXYGEN=OFF \ >>>> -DLLDB_DISABLE_LIBEDIT=1 \ >>>> -DSPHINX_WARNINGS_AS_ERRORS=OFF...
2017 May 01
1
Possible stack corruption during call to JITSymbol::getAddress()
...lvm.git >>>>>> git checkout release_40 >>>>>> cd llvm >>>>>> mkdir build >>>>>> cd build >>>>>> cmake .. -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON >>>>>> -DLLVM_ENABLE_RTTI:BOOL=ON -DLLVM_ENABLE_EH:BOOL=ON >>>>>> -DLLVM_USE_SANITIZER:STRING=Address -DLLVM_PARALLEL_COMPILE_JOBS:STRING=8 >>>>>> -DLLVM_ENABLE_ASSERTIONS:BOOL=ON >>>>>> cmake --build . -- -j 8 >>>>>> sudo cmake --build . --target install >>>&g...