search for: stl_pair

Displaying 10 results from an estimated 10 matches for "stl_pair".

2003 Dec 09
2
[LLVMdev] Linking Errors?
Can anyone help with these crazy linking errors?? /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12Lea kDetector16addGarbageObjectEPKNS_5ValueE+0xd): In function `llvm::LeakDetector::addGarbageObject(llvm::Value const*)': /usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to `llvm::LeakDetector::addGarbageObjectImpl(llvm::Value const*)' /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12Lea kDetector19removeGarbageObjectEPKNS_5ValueE+0xd): In function `llvm::LeakDetector::removeGarbageObject(llvm::Value const*)...
2003 Dec 09
0
[LLVMdev] Linking Errors?
...with these crazy linking errors?? > > > > /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12LeakDetector16addGarbageObjectEPKNS_5ValueE+0xd): > In function `llvm::LeakDetector::addGarbageObject(llvm::Value const*)': > > /usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to > `llvm::LeakDetector::addGarbageObjectImpl(llvm::Value const*)' > > /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12LeakDetector19removeGarbageObjectEPKNS_5ValueE+0xd): > In function `llvm::LeakDetector::removeGarbageObject(l...
2003 Dec 09
3
[LLVMdev] Linking Errors?
...; > > > > > > > /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12L > eakDetector16addGarbageObjectEPKNS_5ValueE+0xd): > > In function `llvm::LeakDetector::addGarbageObject(llvm::Value const*)': > > > > /usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to > > `llvm::LeakDetector::addGarbageObjectImpl(llvm::Value const*)' > > > > > /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12L > eakDetector19removeGarbageObjectEPKNS_5ValueE+0xd): > > In function `llvm::LeakDe...
2008 Jun 11
0
[LLVMdev] Warnings
As of late I see these warnings: llvm[1]: Compiling Constants.cpp for Release build /usr/include/c++/4.0.0/bits/stl_pair.h: In member function 'ConstantClass* llvm::ValueMap<ValType, TypeClass, ConstantClass, HasLargeKey>::getOrCreate(const TypeClass*, const ValType&) [with ValType = <unnamed>::ExprMapKeyType, TypeClass = llvm::Type, ConstantClass = llvm::ConstantExpr, bool HasLargeKey = f...
2014 Dec 17
5
[LLVMdev] How to figure out what #includes are needed?
...r/local/include/llvm/Support/Casting.h:18: In file included from /usr/local/include/llvm/Support/type_traits.h:22: In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/utility:70: In file included from /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/stl_pair.h:59: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/move.h:185:5: error: conflicting types for 'swap' swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm]) ^ /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/move.h:166:5: note: previous definition is...
2010 Nov 18
1
[LLVMdev] LLVM new backend compiling/linking problem
...n `M68KTargetLowering': /home/pgautam/llvm/llvm-2.7/lib/Target/M68K/M68KISelLowering.cpp:37: undefined reference to `vtable for llvm::M68KTargetLowering' /home/pgautam/llvm/llvm-2.7/Release+Debug/lib/libLLVMM68KCodeGen.a(M68KISelLowering.o): In function `pair': /usr/include/c++/4.4/bits/stl_pair.h:84: undefined reference to `llvm::M68K::IntRegsRegClass' /home/pgautam/llvm/llvm-2.7/Release+Debug/lib/libLLVMM68KCodeGen.a(M68KISelLowering.o): In function `M68KTargetLowering': /home/pgautam/llvm/llvm-2.7/lib/Target/M68K/M68KISelLowering.cpp:37: undefined reference to `vtable for llvm::...
2014 Nov 02
2
[LLVMdev] So I just did a normal 'ninja check' with a CMake build that enables ASan and the go bindings tests are... busted...
Specifically, the test is causing a link to occur for CGO stuff. It has been running 8 minutes now with Gold, and is producing a 400mb .o file afaict: % du -hs /tmp/go-build703430446/ llvm.org/llvm/bindings/go/llvm/_test/_obj_test/_cgo_.o 397M /tmp/go-build703430446/ llvm.org/llvm/bindings/go/llvm/_test/_obj_test/_cgo_.o What am I doing wrong here? -------------- next part -------------- An
2019 Sep 03
2
SourceMgr vs EXPENSIVE_CHECKS
...[with _FIter = const int*]’ is not usable as a ‘constexpr’ function because: > inline min_element(_ForwardIterator __first, _ForwardIterator __last) > ^~~~~~~~~~~ > In file included from /usr/include/c++/8/bits/move.h:34, > from /usr/include/c++/8/bits/stl_pair.h:59, > from /usr/include/c++/8/utility:70, > from /usr/include/c++/8/algorithm:60, > from test.cpp:1: > /usr/include/c++/8/bits/stl_algo.h:5613:7: error: call to non-‘constexpr’ function ‘void __gnu_cxx::__function_requires() [with _Co...
2019 Oct 02
2
SourceMgr vs EXPENSIVE_CHECKS
...usable as a ‘constexpr’ function because: >> > inline min_element(_ForwardIterator __first, _ForwardIterator __last) >> > ^~~~~~~~~~~ >> > In file included from /usr/include/c++/8/bits/move.h:34, >> > from /usr/include/c++/8/bits/stl_pair.h:59, >> > from /usr/include/c++/8/utility:70, >> > from /usr/include/c++/8/algorithm:60, >> > from test.cpp:1: >> > /usr/include/c++/8/bits/stl_algo.h:5613:7: error: call to non-‘constexpr’ function ‘void __gnu_...
2019 Sep 03
2
SourceMgr vs EXPENSIVE_CHECKS
Hi, I'm trying to build llvm (git monorepo) on Ubuntu 18.04 with EXPENSIVE_CHECKS enabled and running into various errors compiling SourceMgr.cpp, depending on which host compiler I use. For example with GCC: $ CC=gcc-8 CXX=g++-8 cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_EXPENSIVE_CHECKS=ON ~/git/llvm-project/llvm/ && ninja ... [89/2690] Building CXX object