<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64189>64189</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
opt: CommandLine Error: Option 'dot-cfg-mssa' registered more than once!
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
gundalas72
</td>
</tr>
</table>
<pre>
I am having the lollowing error. How can I get rid of this issue?
./install/bin/opt -mem2reg -load ./libMemoryAccessPattern.so -mymapass input.ll
opt: CommandLine Error: Option 'dot-cfg-mssa' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: ./install/bin/opt -mem2reg -load ./libMemoryAccessPattern.so -mymapass input.ll
#0 0x000055b0ff29ccd0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (./install/bin/opt+0x2fd4cd0)
#1 0x000055b0ff29a5d4 SignalHandler(int) Signals.cpp:0:0
#2 0x00007fe019c42520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#3 0x00007fe019c96a7c __pthread_kill_implementation ./nptl/pthread_kill.c:44:76
#4 0x00007fe019c96a7c __pthread_kill_internal ./nptl/pthread_kill.c:78:10
#5 0x00007fe019c96a7c pthread_kill ./nptl/pthread_kill.c:89:10
#6 0x00007fe019c42476 gsignal ./signal/../sysdeps/posix/raise.c:27:6
#7 0x00007fe019c287f3 abort ./stdlib/abort.c:81:7
#8 0x000055b0fc882e90 llvm::RISCVISAInfo::updateImplication() (.cold) RISCVISAInfo.cpp:0:0
#9 0x000055b0ff1ed25e (./install/bin/opt+0x2f2525e)
#10 0x000055b0ff1db692 (anonymous namespace)::CommandLineParser::addOption(llvm::cl::Option*, llvm::cl::SubCommand*) CommandLine.cpp:0:0
#11 0x000055b0ff1de20a llvm::cl::Option::addArgument() (./install/bin/opt+0x2f1620a)
#12 0x00007fe019539962 _GLOBAL__sub_I_MemorySSA.cpp MemorySSA.cpp:0:0
#13 0x00007fe01a25f47e call_init ./elf/dl-init.c:69:21
#14 0x00007fe01a25f568 _dl_init ./elf/dl-init.c:116:14
#15 0x00007fe019d74c85 _dl_catch_exception ./elf/dl-error-skeleton.c:184:18
#16 0x00007fe01a266ff6 dl_open_worker ./elf/dl-open.c:812:6
#17 0x00007fe01a266ff6 dl_open_worker ./elf/dl-open.c:771:1
#18 0x00007fe019d74c28 _dl_catch_exception ./elf/dl-error-skeleton.c:209:18
#19 0x00007fe01a26734e _dl_open ./elf/dl-open.c:883:17
#20 0x00007fe019c906bc dlopen_doit ./dlfcn/dlopen.c:56:13
#21 0x00007fe019d74c28 _dl_catch_exception ./elf/dl-error-skeleton.c:209:18
#22 0x00007fe019d74cf3 _dl_catch_error ./elf/dl-error-skeleton.c:228:12
#23 0x00007fe019c901ae _dlerror_run ./dlfcn/dlerror.c:145:17
#24 0x00007fe019c90748 dlopen_implementation ./dlfcn/dlopen.c:71:51
#25 0x00007fe019c90748 dlopen ./dlfcn/dlopen.c:81:12
#26 0x000055b0ff2844fe llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) (./install/bin/opt+0x2fbc4fe)
#27 0x000055b0ff20691f llvm::PluginLoader::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) (./install/bin/opt+0x2f3e91f)
#28 0x000055b0fc990af2 llvm::cl::opt<llvm::PluginLoader, false, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef) (./install/bin/opt+0x6c8af2)
#29 0x000055b0ff1dcfbb llvm::cl::ParseCommandLineOptions(int, char const* const*, llvm::StringRef, llvm::raw_ostream*, char const*, bool) (./install/bin/opt+0x2f14fbb)
#30 0x000055b0fc8998e2 main (./install/bin/opt+0x5d18e2)
#31 0x00007fe019c29d90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
#32 0x00007fe019c29e40 call_init ./csu/../csu/libc-start.c:128:20
#33 0x00007fe019c29e40 __libc_start_main ./csu/../csu/libc-start.c:379:5
#34 0x000055b0fc980a05 _start (./install/bin/opt+0x6b8a05)
Aborted (core dumped)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy8mF1v6yjzwD8NvUGJMH7DF7nw6Wn-W6mrVu1fe2thwA5PMViA97Tf_hE4bew0PT06enalNol5-TEzzDCDqXOy10LsQP4N5N-v6OQPxu76SXOqqCvxVWv46-4W0gEe6N9S99AfBFRGKfMjPAlrjd1C-If5ARnV8Bb2wkMrOTQd9AfpoHRuEiDdA_QdoHr-3AK8l9p5qhTA-1ZqgPdm9HAziAFb0cONMpTDMEzJ9k8xGPtaMyace6DeC6u3zsDN8DrQkToHpR4nv1VqhpvRg7SG12YYqOZ3Ugt4E6QMjfejl0ZDgEtu_IZ1_WZwjgJcQit66bywgsPBWAH9gWpoNBMAJzP37u6vP-HN4-P9YyBJzYx2YYpmr1DqJWC5tIkruhnxcHdTP91AN7WD9JDCduqhFaOxHnoDD96PDqQ1wHuA9730h6ndMjMEK6i_3742ozX_EcwHEwbTOoD3kGoeJFITF3GDmKXuAFvKnr2lTGzn5Z88Zc-QT8MYVolNaAtQ9WBNb-kAqe2nQWgfhID_6B5BgFME0QtCCOV5i7oOV4xxBKOiaQ3S2r26-ceDldpH0f8_6AIwOQ2y9EdjnLeCDgAXAF9DqT3AFQSYfKIAwN_QC-54xjgCuDrJk5zJQ3OewSfZa6r-oJorYQEmR_zc7LZsDKZE8f8dhI-gshMoqViGc4yCQLOlAN6_kKIpso2SenrZ9HqaO9jWmW0RxYtTVsKla2ZV0JLBphn9wQrKm2epVCOHUYmwfzQ6edBfjz4ovxy2ZSCtswykdVmc-Nmv8HXYVqp-Si4JSOtkYY38Enk57ac4Up3hinPjZm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