Displaying 9 results from an estimated 9 matches for "optioncategori".
Did you mean:
optioncategory
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] 25383 abort (core dumped) lld
λ lldb-server
: CommandLine Error: Option 'deb...
2014 Aug 09
2
[LLVMdev] "Duplicate option categories" assertion triggered loading an LLVM-project
...ile 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 define any command line option.
I am using LLVM 3.5 git...
2018 Jul 10
2
custom LLVM Pass with options fails to load
...egistered 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 directory
#0 0x0000000001d8eea4 (opt+0x1d8eea4)
#1 0x0000000001d8f206 (opt+0...
2014 Aug 10
2
[LLVMdev] "Duplicate option categories" assertion triggered loading an LLVM-project
...uot;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...
2018 Jul 12
2
custom LLVM Pass with options fails to load
...ut 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 directory
>> #0 0x0000000001d8eea4 (opt+0x1d8ee...
2013 Feb 06
1
[LLVMdev] Modifying the support CommandLine Library to support option categories and iteration over registered options
Hi,
I'm a contributor to the KLEE project (based on LLVM) and I'm
currently looking at trying to add the following functionality to
KLEE...
(1). Be able to iterate through registered command line options and
programmatically hide them. We're interested in this because we wish
to hide (unless -help-hidden is called) several LLVM options.
(2). Be able to place an option into a category
2013 Jul 23
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
On 07/22/2013 11:58 PM, Star Tan wrote:
> Hi Tobias,
>
>
> I have attached a patch file to optimize string operations in Polly-Detect pass.
> In this patch file, I put most of long string operations in the condition variable of "PollyViewMode" or in the DEBUG mode.
OK.
> From 448482106e8d815afa40e4ce8543ba3f6f0237f1 Mon Sep 17 00:00:00 2001
> From: Star Tan
2013 Jul 23
0
[LLVMdev] Analysis of polly-detect overhead in oggenc
Hi Tobias,
I have attached a patch file to optimize string operations in Polly-Detect pass.
In this patch file, I put most of long string operations in the condition variable of "PollyViewMode" or in the DEBUG mode.
Bests,
Star Tan
At 2013-07-22 22:27:48,"Tobias Grosser" <tobias at grosser.es> wrote:
>On 07/22/2013 01:46 AM, Star Tan wrote:
>> At
2013 Jul 22
2
[LLVMdev] Analysis of polly-detect overhead in oggenc
On 07/22/2013 01:46 AM, Star Tan wrote:
> At 2013-07-22 12:16:53,"Tobias Grosser" <tobias at grosser.es> wrote:
>> I propose two more patches:
>>
>> 1) Transform the INVALID macro into function calls, that format
>> the text and that set LastFailure.
> Translating the INVALID macro into function calls would complicate the operations for