search for: unittestmain

Displaying 14 results from an estimated 14 matches for "unittestmain".

2011 Dec 13
1
[LLVMdev] [PATCH] utils/unittest: Consistency of gtest and gtest_main libs.
...LLVMgtest_main -lLLVMgtest It also fixes: $(ld): cannot find -lLLVMgtest $(ld): cannot find -lLLVMgtest_main --- unittests/Makefile.unittest | 2 +- utils/llvm-build/llvmbuild/componentinfo.py | 4 ++-- utils/llvm-build/llvmbuild/main.py | 5 ++++- utils/unittest/UnitTestMain/Makefile | 2 +- utils/unittest/googletest/Makefile | 2 +- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/unittests/Makefile.unittest b/unittests/Makefile.unittest index 580ad7d..bd32aed 100644 --- a/unittests/Makefile.unittest +++ b/unittests/Makefile.unittes...
2016 Feb 09
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
...port # Depends on llvm::raw_ostream -) +if (LLVM_LINK_LLVM_DYLIB) + set(LIBS + LLVM # Depends on llvm::raw_ostream + ) +else() + set(LIBS + LLVMSupport # Depends on llvm::raw_ostream + ) +endif() find_library(PTHREAD_LIBRARY_PATH pthread) if (PTHREAD_LIBRARY_PATH) Index: utils/unittest/UnitTestMain/CMakeLists.txt =================================================================== --- utils/unittest/UnitTestMain/CMakeLists.txt (revision 260200) +++ utils/unittest/UnitTestMain/CMakeLists.txt (working copy) @@ -1,7 +1,17 @@ -add_llvm_library(gtest_main - TestMain.cpp +if (LLVM_LINK_LLVM_DYLIB...
2013 Jun 07
0
[LLVMdev] Build failure (tblgen crash) on Ubuntu
...ring directory `/home/csabaraduly/workspace/LLVM/build-clang/utils/unittest/googletest' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/csabaraduly/workspace/LLVM/build-clang/utils/unittest/googletest' \ SD=/home/csabaraduly/workspace/LLVM/llvm/utils/unittest/UnitTestMain; \ DD=UnitTestMain; \ if [ ! -f $SD/Makefile ]; then \ SD=UnitTestMain; \ DD=UnitTestMain; \ fi; \ if ([ ! -f $DD/Makefile ] || \ command test $DD/Makefile -ot \ $SD/Makefile ); then \ /home/csabaraduly/workspace/LLVM/llvm/autoconf/mkinsta...
2020 Jun 07
3
Kill "KillTheDoctor"
...s://github.com/llvm/llvm-project/tree/master/llvm/utils/KillTheDoctor [2] https://www.ecosia.org/images?q=%22has+stopped+working%22 [3] https://github.com/llvm/llvm-project/blob/master/llvm/lib/Support/Windows/Signals.inc#L484 [4] https://github.com/llvm/llvm-project/blob/master/llvm/utils/unittest/UnitTestMain/TestMain.cpp#L38 [5] https://devblogs.microsoft.com/oldnewthing/20160204-00/?p=92972 [6] https://github.com/llvm/llvm-project/blob/master/compiler-rt/test/lit.common.cfg.py#L219 [7] https://github.com/llvm/llvm-project/blob/master/llvm/utils/not/not.cpp#L48 [8] https://github.com/llvm/llvm-project/...
2014 Aug 27
2
[LLVMdev] migrating from autoconf to cmake+ninja
...m. Also is there a flag to skip tests? Is building lld on linux supported? I tried including lld in the build and it failed: llvm[4]: Linking Release unit test CoreTest (without symbols) /tmp/llvm/build/Release/lib/libgtest_main.a(TestMain.o): In function `main': /tmp/llvm/llvm/utils/unittest/UnitTestMain/TestMain.cpp:(.text.main+0x28): undefined reference to `llvm::cl::ParseCommandLineOptions(int, char const* const*, char const*)' clang: error: linker command failed with exit code 1 (use -v to see invocation) /tmp/llvm/llvm/unittests/Makefile.unittest:58: recipe for target 'Release/CoreTest...
2014 Jun 30
3
[LLVMdev] LLD dynamic compilation
...lvm/utils/unittest/googletest/src/gtest.cc:2145 #13 testing::UnitTest::Run (this=<optimized out>) at /home/rengolin/devel/llvm/src/llvm/utils/unittest/googletest/src/gtest.cc:3842 #14 0x0000000000410796 in main (argc=1, argv=0x7fffffffe0d8) at /home/rengolin/devel/llvm/src/llvm/utils/unittest/UnitTestMain/TestMain.cpp:48 > On the cyclic dependency there was a recent conversation that was trying to > fix this, but I am not sure where it is. Is this on llvmdev? Or is there a special lld list? cheers, --renato
2016 Feb 06
2
D16945: LLVM overhaul to avoid linking LLVM component libraries with libLLVM
Hans, I have posted a complete patch for solving the linkage issues with LLVM_LINK_LLVM_DYLIB on Phabricator at http://reviews.llvm.org/D16945. The bulk of the fix the simple changes of... Index: cmake/modules/AddLLVM.cmake =================================================================== --- cmake/modules/AddLLVM.cmake (revision 259743) +++ cmake/modules/AddLLVM.cmake (working copy) @@
2014 Sep 02
2
[LLVMdev] migrating from autoconf to cmake+ninja
...to skip tests? > > Is building lld on linux supported? I tried including lld in the build and it failed: > llvm[4]: Linking Release unit test CoreTest (without symbols) > /tmp/llvm/build/Release/lib/libgtest_main.a(TestMain.o): In function `main': > /tmp/llvm/llvm/utils/unittest/UnitTestMain/TestMain.cpp:(.text.main+0x28): > undefined reference to `llvm::cl::ParseCommandLineOptions(int, char > const* const*, char const*)' > clang: error: linker command failed with exit code 1 (use -v to see invocation) > /tmp/llvm/llvm/unittests/Makefile.unittest:58: recipe for target &...
2018 Aug 01
2
LLJVM make error
That source file was removed from LLVM in r232397 on March 16, 2015. It looks like lljvm hasn't been updated in a long time. LLVM's C++ APIs are not stable, so there is no expectation that a project built against LLVM's C++ API in 2015 would build or reasonably function against LLVM trunk. The project probably works against LLVM 3.6.2 which was (I believe) the last LLVM release to
2014 Jun 30
2
[LLVMdev] LLD dynamic compilation
Folks, I'm having a look at LLD and I need some guidance... I know it's not production ready for x86 and ARM (the idea is to make it so). My steps: I've added it to tools/lld and ran CMake again (on x86_64) on a standard release build (static linking). It works, builds but I see one unit test error: Note: Google Test filter = InputGraphTest.Observer [==========] Running 1 test from
2011 Oct 18
3
[LLVMdev] non-POD type with llvm-objdump
I'm so close to having LLVM build on PowerPC. If there's any PowerPC experts, help? Lines like this: outs() << "[" << format("%2d", i) << "]" << "(sec " << format("%2d", int16_t(symbol->SectionNumber)) << ")" << "(fl 0x" <<
2010 Jul 27
2
[LLVMdev] Failed to build llvm with gcc 4.3.4 on Solaris x86
Hi, You asked for bug reports on failed build/platforms combinations, here is one: —————— . . . llvm[3]: Compiling TestMain.cpp for Debug+Asserts build llvm[3]: Building Debug+Asserts Archive Library libUnitTestMain.a gmake[3]: Leaving directory `/home/jocke/gcd/llvm/utils/unittest/UnitTestMain' gmake[2]: Leaving directory `/home/jocke/gcd/llvm/utils/unittest' gmake[1]: Leaving directory `/home/jocke/gcd/llvm/utils' gmake[1]: Entering directory `/home/jocke/gcd/llvm/lib/VMCore’ llvm[1]: Building In...
2015 Jul 29
1
[LLVMdev] Error when i am using command make -j4 command in cygwin to compile safecode
...====== Finished Linking Release+Asserts Executable not (without symbols) make[2]: Leaving directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/utils/not' llvm[2]: Compiling CodeGenDAGPatterns.cpp for Release+Asserts build make[3]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/utils/unittest/UnitTestMain' llvm[3]: Compiling TestMain.cpp for Release+Asserts build make[2]: Entering directory '/home/NIKHILREDDY/WORK/LLVM_OBJ/utils/yaml-bench' llvm[2]: Compiling YAMLBench.cpp for Release+Asserts build llvm[3]: Building Release+Asserts Archive Library libgtest_main.a make[3]: Leaving directo...
2019 Apr 30
6
Disk space and RAM requirements in docs
...uild/tools/llvm-itanium-demangle-fuzzer 136K build/tools/clang/test/Modules/Output/requires.m.tmp 136K build/tools/clang/test/Modules/Output/rebuild.m.tmp 136K build/tools/clang/test/Modules/Output/modulemap-locations.m.tmp 136K build/tools/clang/test/CXX/dcl.decl/dcl.init 132K build/utils/unittest/UnitTestMain 132K build/tools/clang/test/Modules/Output/using-decl.cpp.tmp 132K build/tools/clang/test/Modules/Output/relative-dep-gen.cpp.tmp 132K build/tools/clang/test/Modules/Output/redecl-add-after-load.cpp.tmp 132K build/tools/clang/test/Modules/Output/normal-module-map.cpp.tmp 132K build/tools/clang/test...