Issue |
134619
|
Summary |
[opt] commandLine error
|
Labels |
new issue
|
Assignees |
|
Reporter |
sudo-technoir
|
Hi! I'm trying to build my project for uni and I'm getting this error. My friend is able to build my code, so the issue being there is unlikely. Any advice?
opt: CommandLine Error: Option 'use-constant-int-for-fixed-length-splat' 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: build/bin/opt -load-pass-plugin=build/lib/BinShiftPass_Shkurinskaya_Elena_FIIT2_LLVM_IR.so -passes=bin-shift -S llvm/test/compiler-course/shkurinskaya_e_llvm/test.ll -o llvm/test/compiler-course/shkurinskaya_e_llvm/out.ll
#0 0x000055bf0ce9ced8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (build/bin/opt+0x3058ed8)
#1 0x000055bf0ce9aaae llvm::sys::RunSignalHandlers() (build/bin/opt+0x3056aae)
#2 0x000055bf0ce9d6c8 SignalHandler(int) Signals.cpp:0:0
#3 0x00007f9675772330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007f96757cbb2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
#5 0x00007f967577227e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007f96757558ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x000055bf0ce0499c llvm::report_fatal_error(llvm::Twine const&, bool) (build/bin/opt+0x2fc099c)
#8 0x000055bf0ce047e6 (build/bin/opt+0x2fc07e6)
#9 0x000055bf0cdf227a (anonymous namespace)::CommandLineParser::addOption(llvm::cl::Option*, llvm::cl::SubCommand*) CommandLine.cpp:0:0
#10 0x000055bf0cde2ab8 llvm::cl::Option::addArgument() (build/bin/opt+0x2f9eab8)
#11 0x00007f967523bebc _GLOBAL__sub_I_Constants.cpp Constants.cpp:0:0
#12 0x00007f9675ce871f (/lib64/ld-linux-x86-64.so.2+0x571f)
#13 0x00007f9675ce8824 (/lib64/ld-linux-x86-64.so.2+0x5824)
#14 0x00007f9675ce45b2 _dl_catch_exception (/lib64/ld-linux-x86-64.so.2+0x15b2)
#15 0x00007f9675cefd7c (/lib64/ld-linux-x86-64.so.2+0xcd7c)
#16 0x00007f9675ce451c _dl_catch_exception (/lib64/ld-linux-x86-64.so.2+0x151c)
#17 0x00007f9675cf0164 (/lib64/ld-linux-x86-64.so.2+0xd164)
#18 0x00007f96757c51a4 (/lib/x86_64-linux-gnu/libc.so.6+0x981a4)
#19 0x00007f9675ce451c _dl_catch_exception (/lib64/ld-linux-x86-64.so.2+0x151c)
#20 0x00007f9675ce4669 (/lib64/ld-linux-x86-64.so.2+0x1669)
#21 0x00007f96757c4c83 (/lib/x86_64-linux-gnu/libc.so.6+0x97c83)
#22 0x00007f96757c525f dlopen (/lib/x86_64-linux-gnu/libc.so.6+0x9825f)
#23 0x000055bf0ce8c1ba llvm::sys::DynamicLibrary::getPermanentLibrary(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*) (build/bin/opt+0x30481ba)
#24 0x000055bf0d32389e llvm::PassPlugin::Load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) (build/bin/opt+0x34df89e)
#25 0x000055bf0d362be2 std::_Function_handler<void (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&), optMain::$_0>::_M_invoke(std::_Any_data const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) optdriver.cpp:0:0
#26 0x000055bf0bde1032 llvm::cl::list<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, bool, llvm::cl::parser<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>::handleOccurrence(unsigned int, llvm::StringRef, llvm::StringRef) CommandFlags.cpp:0:0
#27 0x000055bf0cde4f47 ProvideOption(llvm::cl::Option*, llvm::StringRef, llvm::StringRef, int, char const* const*, int&) CommandLine.cpp:0:0
#28 0x000055bf0cde96c0 llvm::cl::ParseCommandLineOptions(int, char const* const*, llvm::StringRef, llvm::raw_ostream*, char const*, bool) (build/bin/opt+0x2fa56c0)
#29 0x000055bf0d35e7a8 optMain (build/bin/opt+0x351a7a8)
#30 0x00007f96757571ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#31 0x00007f967575728b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#32 0x000055bf0b523a65 _start (build/bin/opt+0x16dfa65)
Аварийный останов
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs