Open
Description
Bugzilla Link | 52367 |
Version | 13.0 |
OS | Linux |
Attachments | test case |
CC | @DougGregor,@zygoloid |
Extended Description
attached testcase causes clang to sigsegv
fatal error: error in backend: failed to perform tail call elimination on a call site marked musttail
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: mips-yoe-linux-musl-clang++ -target mips-yoe-linux-musl -mabi=32 -mhard-float -march=mips32r2 -mbig-endian -Qunused-arguments -fs
tack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-lin
ux-musl/protobuf/3.19.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I.. -pthread -DHAVE_PTHREAD=1 -DHAVE_ZLIB=1 -Wall -Wno-sign-compare -O2 -pipe -g -feliminate-
unused-debug-types -fmacro-prefix-map=/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux-musl/protobuf/3.19.0-r0=/usr/src/debug/protobuf/3.19.0-r0 -fdebug-
prefix-map=/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux-musl/protobuf/3.19.0-r0=/usr/src/debug/protobuf/3.19.0-r0 -fdebug-prefix-map=/mnt/b/yoe/maste
r/build/tmp/work/mips32r2-yoe-linux-musl/protobuf/3.19.0-r0/recipe-sysroot= -fdebug-prefix-map=/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux-musl/prot
obuf/3.19.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -c google/protobuf/generated_message_tctable_lite.cc -fPIC -DPIC -o google/protobuf/.libs/
generated_message_tctable_lite.o
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module 'google/protobuf/generated_message_tctable_lite.cc'.
4. Running pass 'MIPS DAG->DAG Pattern Instruction Selection' on function '@_ZN6google8protobuf8internal8TcParser13SingularFixedIyhEEPKcPNS0_11MessageL
iteES5_PNS1_12ParseContextEPKNS1_16TcParseTableBaseEyNS1_11TcFieldDataE'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
clang-13: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 13.0.0 (https://github.com/llvm/llvm-project d7b669b3a30345cfcdb2fde2af6f48aa4b94845d) Target: mips-yoe-linux-musl