search for: llvm_test

Displaying 11 results from an estimated 11 matches for "llvm_test".

2019 Sep 18
2
EngineBuilder(std::move(Owner)).create() return null
I just copy the latest code in HowToUseJIT and run, but the EngineBuilder(std::move(Owner)).create() keeps return null, any idea why? Here's my CMakeList: cmake_minimum_required(VERSION 3.12) project(llvm_test) set(CMAKE_CXX_STANDARD 14) find_package(LLVM REQUIRED CONFIG) llvm_map_components_to_libnames(llvm_libs support core irreader orcjit native) add_executable(llvm_test main.cpp) target_include_directories(llvm_test PUBLIC ${LLVM_INCLUDE_DIRS}) target_compile_definitions(llvm_test PUBLIC ${LLVM_DE...
2019 Sep 18
2
EngineBuilder(std::move(Owner)).create() return null
...ia llvm-dev <llvm-dev at lists.llvm.org> 写道: > > I just copy the latest code in HowToUseJIT and run, but > the EngineBuilder(std::move(Owner)).create() keeps return null, any idea > why? > > Here's my CMakeList: > > cmake_minimum_required(VERSION 3.12) > project(llvm_test) > > set(CMAKE_CXX_STANDARD 14) > > find_package(LLVM REQUIRED CONFIG) > llvm_map_components_to_libnames(llvm_libs support core irreader orcjit native) > > add_executable(llvm_test main.cpp) > target_include_directories(llvm_test PUBLIC ${LLVM_INCLUDE_DIRS}) > target_comp...
2012 Dec 13
0
[LLVMdev] Memory leaks after llvm_shutdown
...bj to cause destruction of ManagedStatics after calling all static destructors. In that case I got "pure virtual function call" because of early release of BumpPtrAllocator::DefaultSlabAllocator. Call stack for this case: msvcr100d.dll!_purecall() Line 54 + 0x7 bytes C > llvm_test.exe!llvm::BumpPtrAllocator::DeallocateSlabs(llvm::MemSlab * Slab) Line 71 + 0x1b bytes C++ llvm_test.exe!llvm::BumpPtrAllocator::~BumpPtrAllocator() Line 30 C++ llvm_test.exe!llvm::LLVMContextImpl::~LLVMContextImpl() Line 128 + 0xf3 bytes C++ llvm_test.exe!llvm::LLVMC...
2018 Jun 05
2
How to get optimization remarks while testing with lnt in llvm
...arks. Test are compiling and executing fine, but I am not getting optimization remarks while using flags like -Rpass-missed=loop-vectorize and -Rpass-analysis=loop-vectorize I've tried running it like this: lnt runtest test-suite --sandbox SANDBOX --cc /usr/local/bin/clang --test-suite ~/llvm_tests/llvm-test-suite/ --only-test SingleSource/UnitTests/Vectorizer/ --only-compile --use-lit ~/llvm/utils/lit/lit.py --cflag '-O3' --cflag '-fvectorize' --cflag '-Rpass-missed=loop-vectorize' --cflag '-Rpass-analysis=loop-vectorize' -j 70 This isn't causing any com...
2004 Nov 16
2
[LLVMdev] Fixes for windows version
...espace. Use of std::hash_map is therefore deprecated. Similar shenanigans have been committed by gcc from one version to another. I see where this is handled (llvm/ADT/hash_map), but it isn't clear how to add support for VC++ to the auto config magic. I'll soon thoroughly go through the llvm_test results for FreeBSD to identify all platform dependencies that cause failures. I'm getting far more failures than I have in the past, though it's apparent many tests have also been added. Perhaps they never passed? On Mon, 15 Nov 2004 09:29:15 -0800 Reid Spencer <reid at x10sys.com&gt...
2004 Nov 16
0
[LLVMdev] Fixes for windows version
...lear how to add support for > VC++ to the auto config magic. Yeah, there's tests in autoconf/m4/cxx_hash_map to dictate which naming style needs to be used. You'll have to haxor it in there if you're not using the configure script. > > I'll soon thoroughly go through the llvm_test results for FreeBSD to > identify all platform dependencies that cause failures. I'm getting far > more failures than I have in the past, though it's apparent many tests > have also been added. Perhaps they never passed? There's only a handful (8-10) that don't pass at t...
2015 Mar 05
2
[LLVMdev] A question to LLVM for ARMv6
Hi, all I want to use LLVM to compile an ARM Cortex-M0 project on windows. Who can send me a sample, including command arguments and introdution about debug process. Thanks a lot. -Steven ***************************** Legal Disclaimer ***************************** "This email may contain confidential and privileged material for the sole use of the intended recipient. Any unauthorized
2010 Apr 26
0
[LLVMdev] Does llvm-gcc emit column # info?
...tadata !3, metadata !"main", metadata !"main", metadata !"main", metadata !3, i32 1, metadata !4, i1 false, i1 true, i32 0, i32 0, null, i1 false} ; [ DW_TAG_subprogram ] !3 = metadata !{i32 458769, i32 0, i32 1, metadata !"t.c", metadata !"/home/kecheng/llvm_test/xyz/", metadata !"4.2.1 (Based on Apple Inc. build 5658) (LLVM build)", i1 true, i1 false, metadata !"", i32 0} ; [ DW_TAG_compile_unit ] !4 = metadata !{i32 458773, metadata !3, metadata !"", metadata !3, i32 0, i64 0, i64 0, i64 0, i32 0, null, metadata !5, i32...
2004 Nov 15
0
[LLVMdev] Fixes for windows version
Morten, I've applied these patches. Thanks for the updates! Reid. On Mon, 2004-11-15 at 01:26, Morten Ofstad wrote: > Hi, > > when I updated the sources today there were several small problems that > stopped the windows version from compiling, here are the patches > > m. > > > ______________________________________________________________________ > Index:
2004 Nov 15
2
[LLVMdev] Fixes for windows version
Hi, when I updated the sources today there were several small problems that stopped the windows version from compiling, here are the patches m. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: win32patches.txt URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20041115/34634455/attachment.txt>
2010 Apr 26
3
[LLVMdev] Does llvm-gcc emit column # info?
Hi, I tried llvm-gcc -g -O0 on several cases, but the column field of meta data always shows zero in created ll code. Does llvm-gcc emit column # info ? Or I should add some option? Thanks in advance. Sheng. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100426/76b52b1f/attachment.html>