search for: genericoptionvalue

Displaying 4 results from an estimated 4 matches for "genericoptionvalue".

2013 Feb 19
0
[LLVMdev] Undefined reference to GenericOptionValue
Hi to all, I'm having some trouble on Linux x86_64, because when I write, for example, the following line: opt<bool> foo ("foo", desc ("foofoofoo")); clang/gcc say: undefined reference to GenericOptionValue. It's not a namespace problem, they are correct (I have an using namespace at the beginning). Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130219/39cbdb3c/attachment.html>
2013 Jun 12
2
[LLVMdev] "anchor" method policy, request for clarification
I tried to build LLVM with 'gcc-4.8.1 -flto', and when linking unittest programs, I got the following error: /tmp/cc8pMk84.ltrans30.ltrans.o:(.data.rel.ro._ZTIN4llvm2cl15OptionValueCopyISsEE[_ZTIN4llvm2cl15OptionValueCopyISsEE]+0x10): undefined reference to `typeinfo for llvm::cl::GenericOptionValue' /tmp/cc8pMk84.ltrans30.ltrans.o:(.data.rel.ro._ZTIN4llvm2cl15OptionValueCopyINS0_13boolOrDefaultEEE[_ZTIN4llvm2cl15OptionValueCopyINS0_13boolOrDefaultEEE]+0x10): undefined reference to `typeinfo for llvm::cl::GenericOptionValue' This seems to be due to the (mis-)use of "anchor"...
2013 Jun 12
0
[LLVMdev] "anchor" method policy, request for clarification
...uild LLVM with ’gcc-4.8.1 –flto’, and when linking unittest > programs, I got the following error: > > > > /tmp/cc8pMk84.ltrans30.ltrans.o:(.data.rel.ro._ZTIN4llvm2cl15OptionValueCopyISsEE[_ZTIN4llvm2cl15OptionValueCopyISsEE]+0x10): > undefined reference to `typeinfo for llvm::cl::GenericOptionValue' > > /tmp/cc8pMk84.ltrans30.ltrans.o:(.data.rel.ro._ZTIN4llvm2cl15OptionValueCopyINS0_13boolOrDefaultEEE[_ZTIN4llvm2cl15OptionValueCopyINS0_13boolOrDefaultEEE]+0x10): > undefined reference to `typeinfo for llvm::cl::GenericOptionValue' > > > > This seems to be due to th...
2014 Jul 02
2
[LLVMdev] Porting pass from llvm 3.1 to 3.4
...sampaio/llvm/lib: CMakeFiles/cdag_disk.dir/cdag_disk.cxx.o:(.data.rel.ro._ZTIN4llvm2cl15OptionValueCopyISsEE[typeinfo for llvm::cl::OptionValueCopy<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]+0x10): undefined reference to `typeinfo for llvm::cl::GenericOptionValue' ../../lib/analysis/libddg-analysis.a(Ids.cxx.o):(.data.rel.ro._ZTIN3ddg3IdsE[typeinfo for ddg::Ids]+0x10): undefined reference to `typeinfo for llvm::ModulePass'alue' ----- Thank you very much -- Diogo Nunes Sampaio