Displaying 2 results from an estimated 2 matches for "aarch64branchrelaxation".
2016 Feb 27
3
Compiling for AArch64: CommandLine Error: Option 'aarch64-branch-relax' registered more than once!
...es.
I now get the following error message:
ldc2.exe: CommandLine Error: Option 'aarch64-branch-relax' registered
more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Reason is that the option 'aarch64-branch-relax' is registered in file
lib/Target/AArch64/AArch64BranchRelaxation.cpp and a second time through
PassRegistry::registerPass() (because of the use of the NameParser - the
pass is also named 'aarch64-branch-relax').
Is this the intended behavior? If yes, what can I do to fix the compiler?
Regards,
Kai
2016 Feb 27
0
Compiling for AArch64: CommandLine Error: Option 'aarch64-branch-relax' registered more than once!
...ror message:
>
> ldc2.exe: CommandLine Error: Option 'aarch64-branch-relax' registered
> more than once!
> LLVM ERROR: inconsistency in registered CommandLine options
>
> Reason is that the option 'aarch64-branch-relax' is registered in file
> lib/Target/AArch64/AArch64BranchRelaxation.cpp and a second time
> through PassRegistry::registerPass() (because of the use of the
> NameParser - the pass is also named 'aarch64-branch-relax').
I wouldn't really recommend using the NameParser outside of a testing
tool. The "throw all of the pass names at cl::opt and...