search for: registercategory

Displaying 7 results from an estimated 7 matches for "registercategory".

2016 Feb 15
2
CommandLineParser problems with llvm trunk?
Hi, Recently I started getting some weird errors from multiple tools (on Linux x86-64): λ lld lld: ../lib/Support/CommandLine.cpp:202: void (anonymous namespace)::CommandLineParser::registerCategory(llvm::cl::OptionCategory *): Assertion `std::count_if(RegisteredOptionCategories.begin(), RegisteredOptionCategories.end(), [cat](const OptionCategory *Category) { return cat->getName() == Category->getName(); }) == 0 && "Duplicate option categories"' failed. [1] 2538...
2014 Aug 09
2
[LLVMdev] "Duplicate option categories" assertion triggered loading an LLVM-project
...the problem. Pass body is in [2]. The CMakeLists.txt file for the "root" directory is in [3] The CMakeLists.txt file for the "pass" directory is in [4] When I run opt --load=libTest.so I trigger the following assertion: opt: CommandLine.cpp:134: void llvm::cl::OptionCategory::registerCategory(): Assertion `std::count_if(RegisteredOptionCategories->begin(), RegisteredOptionCategories->end(), [this](const OptionCategory *Category) { return getName() == Category->getName(); }) == 0 && "Duplicate option categories"' failed. Note that my pass does not even def...
2014 Aug 10
2
[LLVMdev] "Duplicate option categories" assertion triggered loading an LLVM-project
...directory is in [3] > > The CMakeLists.txt file for the "pass" directory is in [4] > > > > When I run opt --load=libTest.so > > I trigger the following assertion: > > > > opt: CommandLine.cpp:134: void > > llvm::cl::OptionCategory::registerCategory(): Assertion > > `std::count_if(RegisteredOptionCategories->begin(), > > RegisteredOptionCategories->end(), [this](const OptionCategory > *Category) > > { return getName() == Category->getName(); }) == 0 && "Duplicate > option > > cate...
2018 Jul 10
2
custom LLVM Pass with options fails to load
...n loading it with opt: opt: CommandLine Error: Option 'debug-pass' registered more than once! I narrowed it down to the Core lib but without it I get this opt: /home/qwert/projects/ext/repos/llvm/6.0.0/lib/Support/CommandLine.cpp:281: void (anonymous namespace)::CommandLineParser::registerCategory(llvm::cl::OptionCategory *): Assertion `count_if(RegisteredOptionCategories, [cat](const OptionCategory *Category) { return cat->getName() == Category->getName(); }) == 0 && "Duplicate option categories"' failed. LLVMSymbolizer: error reading file: No such file or...
2018 Jul 12
2
custom LLVM Pass with options fails to load
...ug-pass' registered more than once! >> >> I narrowed it down to the Core lib but without it I get this >> >> opt: >> /home/qwert/projects/ext/repos/llvm/6.0.0/lib/Support/CommandLine.cpp:281: >> >> void (anonymous >> namespace)::CommandLineParser::registerCategory(llvm::cl::OptionCategory >> *): >> Assertion `count_if(RegisteredOptionCategories, [cat](const >> OptionCategory *Category) { return cat->getName() == >> Category->getName(); }) == 0 && "Duplicate option categories"' failed. >> LLVMSymbolize...
2009 Feb 13
0
Wine release 1.1.15
...orProfiles. msctf: Implement InputProcessorProfiles::GetCurrentLanguage. msctf: Implement ITfInputProcessorProfiles::Register. msctf: Implement ITfInputProcessorProfiles::AddLanguageProfile. msctf: Stub implementation of ITfCategoryMgr. msctf: Implement ITfCategoryMgr::RegisterCategory. msctf: Flesh out spec file with stubs. msctf: Implement TF_CreateThreadMgr. msctf: Implement TF_GetThreadMgr. mlang: Handle non Japanese case in ConvertUnknownJapaneseToUnicode. msctf: Add sink framework and implement ITfTextEditSink in Context. msctf: Stub for...
2009 Feb 27
0
Wine release 1.1.16
...tests. wininet: Make use of improved cookie functions and cookie paths. msctf: Added msctf tests. wininet: Handle cookie expiration. msctf: Implement ITfInputProcessorProfiles::Unregister. msctf: Define TIP Category values. msctf: Add tests for ITfCategoryMgr::UnregisterCategory and ITfCategoryMgr::RegisterCategory. msctf: Define TF_LANGUAGEPROFILE. msctf: Implement ITfInputProcessorProfiles::EnumInputProcessorInfo. msctf: Implement ITfInputProcessorProfiles::EnumLanguageProfiles. msctf: Implement ITfCategoryMgr::FindClosestCategory. msctf: Us...