[llvm-bugs] [Bug 49233] New: Assertion `getOperand(0)->getType() == getOperand(1)->getType() && "Both operands to ICmp instruction are not of the same type!"' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 17 16:59:34 PST 2021


https://bugs.llvm.org/show_bug.cgi?id=49233

            Bug ID: 49233
           Summary: Assertion  `getOperand(0)->getType() ==
                    getOperand(1)->getType() && "Both operands to ICmp
                    instruction are not of the same type!"' failed
           Product: clang
           Version: 11.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: zhan3299 at purdue.edu
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

Without turning assertion on, this C program can be successfully compiled
(https://godbolt.org/z/jGjqb4). But it indeed breaks some invariants.


$ cat /tmp/test-3f6824.c
# 1 "<built-in>"
# 1 "test.c"
int main() { int a[] = {&__builtin_alloca_with_align(0 == &a, 8)[0]}; }

$ cat /tmp/test-3f6824.sh
# Crash reproducer for clang version 11.1.0
(https://github.com/llvm/llvm-project.git
1fdec59bffc11ae37eb51a1b9869f0696bfd5312)
# Driver args: "-c" "test.c"
# Original command:  "/data/xxx/git/llvm-project/build/bin/clang-11" "-cc1"
"-triple" "x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free"
"-main-file-name" "test.c" "-mrelocation-model" "static" "-mframe-pointer=all"
"-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-munwind-tables"
"-target-cpu" "x86-64" "-fno-split-dwarf-inlining" "-debugger-tuning=gdb"
"-resource-dir" "/data/xxx/git/llvm-project/build/lib/clang/11.1.0"
"-internal-isystem" "/usr/local/include" "-internal-isystem"
"/data/xxx/git/llvm-project/build/lib/clang/11.1.0/include"
"-internal-externc-isystem" "/usr/include/x86_64-linux-gnu"
"-internal-externc-isystem" "/include" "-internal-externc-isystem"
"/usr/include" "-fdebug-compilation-dir" "/home/xxx/data/docker_share/clang"
"-ferror-limit" "19" "-fgnuc-version=4.2.1" "-fcolor-diagnostics" "-faddrsig"
"-o" "test.o" "-x" "c" "test.c"
 "/data/xxx/git/llvm-project/build/bin/clang-11" "-cc1" "-triple"
"x86_64-unknown-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free"
"-main-file-name" "test.c" "-mrelocation-model" "static" "-mframe-pointer=all"
"-fmath-errno" "-fno-rounding-math" "-mconstructor-aliases" "-munwind-tables"
"-target-cpu" "x86-64" "-fno-split-dwarf-inlining" "-debugger-tuning=gdb"
"-ferror-limit" "19" "-fgnuc-version=4.2.1" "-fcolor-diagnostics" "-faddrsig"
"-x" "c" "test-3f6824.c"

$ ./clang -c test.c
test.c:1:60: warning: comparison of address of 'a' equal to a null pointer is
always false [-Wtautological-pointer-compare]
int main() { int a[] = {&__builtin_alloca_with_align(0 == &a, 8)[0]}; }
                                                     ~     ^
test.c:1:25: warning: incompatible pointer to integer conversion initializing
'int' with an expression of type 'void *' [-Wint-conversion]
int main() { int a[] = {&__builtin_alloca_with_align(0 == &a, 8)[0]}; }
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clang:
/home/xxx/data/git/llvm-project/llvm/include/llvm/IR/Instructions.h:1182: void
llvm::ICmpInst::AssertOK(): Assertion `getOperand(0)->getType() ==
getOperand(1)->getType() && "Both operands to ICmp instruction are not of the
same type!"' failed.
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: /data/xxx/git/llvm-project/build/bin/clang -c test.c
1.      <eof> parser at end of file
2.      test.c:1:5: LLVM IR generation of declaration 'main'
3.      test.c:1:5: Generating code for declaration 'main'
 #0 0x0000000006e97306 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/home/xxx/data/git/llvm-project/llvm/lib/Support/Unix/Signals.inc:560:7
 #1 0x0000000006e9266e llvm::sys::RunSignalHandlers()
/home/xxx/data/git/llvm-project/llvm/lib/Support/Signals.cpp:69:18
 #2 0x0000000006e95560 llvm::sys::CleanupOnSignal(unsigned long)
/home/xxx/data/git/llvm-project/llvm/lib/Support/Unix/Signals.inc:361:3
 #3 0x0000000006c878a5 (anonymous
namespace)::CrashRecoveryContextImpl::HandleCrash(int, unsigned long)
/home/xxx/data/git/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:77:5
 #4 0x0000000006c87d20 CrashRecoverySignalHandler(int)
/home/xxx/data/git/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:383:1
 #5 0x00007fbdb98658a0 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x128a0)
 #6 0x00007fbdb852bf47 gsignal
/build/glibc-2ORdQG/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:51:0
 #7 0x00007fbdb852d8b1 abort /build/glibc-2ORdQG/glibc-2.27/stdlib/abort.c:81:0
 #8 0x00007fbdb851d42a __assert_fail_base
/build/glibc-2ORdQG/glibc-2.27/assert/assert.c:89:0
 #9 0x00007fbdb851d4a2 (/lib/x86_64-linux-gnu/libc.so.6+0x304a2)
#10 0x0000000001375d38 llvm::ICmpInst::AssertOK()
/home/xxx/data/git/llvm-project/llvm/include/llvm/IR/Instructions.h:1184:5
#11 0x0000000001375873 llvm::ICmpInst*
llvm::IRBuilderBase::Insert<llvm::ICmpInst>(llvm::ICmpInst*, llvm::Twine
const&) const
/home/xxx/data/git/llvm-project/llvm/include/llvm/IR/IRBuilder.h:0:0
#12 0x0000000001375873
llvm::IRBuilderBase::CreateICmp(llvm::CmpInst::Predicate, llvm::Value*,
llvm::Value*, llvm::Twine const&)
/home/xxx/data/git/llvm-project/llvm/include/llvm/IR/IRBuilder.h:2283:0
#13 0x0000000007f7f205 (anonymous
namespace)::ScalarExprEmitter::EmitCompare(clang::BinaryOperator const*,
llvm::CmpInst::Predicate, llvm::CmpInst::Predicate, llvm::CmpInst::Predicate,
bool)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:4087:24
#14 0x0000000007f68fdf clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:0:3
#15 0x0000000007f89cbe (anonymous
namespace)::ScalarExprEmitter::Visit(clang::Expr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:412:52
#16 0x0000000007f89cbe (anonymous
namespace)::ScalarExprEmitter::VisitCastExpr(clang::CastExpr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:2286:0
#17 0x0000000007f7191a clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:0:12
#18 0x0000000007f55934 (anonymous
namespace)::ScalarExprEmitter::Visit(clang::Expr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:412:52
#19 0x0000000007f55934
clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:4701:0
#20 0x0000000007c5c25f
clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(clang::GlobalDecl, unsigned
int, clang::CallExpr const*, clang::CodeGen::ReturnValueSlot)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:2598:19
#21 0x0000000007ef4072
clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*,
clang::CodeGen::ReturnValueSlot)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExpr.cpp:4759:12
#22 0x0000000007f7cece (anonymous
namespace)::ScalarExprEmitter::VisitCallExpr(clang::CallExpr const*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:581:20
#23 0x0000000007f6db38 clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*)
/home/xxx/data/git/llvm-project/build/tools/clang/include/clang/AST/StmtNodes.inc:0:0
#24 0x0000000007f55934 (anonymous
namespace)::ScalarExprEmitter::Visit(clang::Expr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:412:52
#25 0x0000000007f55934
clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:4701:0
#26 0x0000000007ec844b
clang::CodeGen::CodeGenFunction::EmitPointerWithAlignment(clang::Expr const*,
clang::CodeGen::LValueBaseInfo*, clang::CodeGen::TBAAAccessInfo*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExpr.cpp:1170:18
#27 0x0000000007ecb494
clang::CodeGen::CodeGenFunction::EmitArraySubscriptExpr(clang::ArraySubscriptExpr
const*, bool)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExpr.cpp:3768:10
#28 0x0000000007eb2f9b clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr
const*) /home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExpr.cpp:0:12
#29 0x0000000007f6b8c8 (anonymous
namespace)::ScalarExprEmitter::VisitUnaryAddrOf(clang::UnaryOperator const*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGValue.h:0:0
#30 0x0000000007f6b8c8 clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*)
/home/xxx/data/git/llvm-project/clang/include/clang/AST/StmtVisitor.h:91:0
#31 0x0000000007f8935c (anonymous
namespace)::ScalarExprEmitter::Visit(clang::Expr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:412:52
#32 0x0000000007f8935c (anonymous
namespace)::ScalarExprEmitter::VisitCastExpr(clang::CastExpr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:2229:0
#33 0x0000000007f7191a clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:0:12
#34 0x0000000007f55934 (anonymous
namespace)::ScalarExprEmitter::Visit(clang::Expr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:412:52
#35 0x0000000007f55934
clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprScalar.cpp:4701:0
#36 0x0000000007e5f75b
clang::CodeGen::CodeGenFunction::EmitScalarInit(clang::Expr const*,
clang::ValueDecl const*, clang::CodeGen::LValue, bool)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGDecl.cpp:752:26
#37 0x0000000007f1f23c (anonymous
namespace)::AggExprEmitter::EmitInitializationToLValue(clang::Expr*,
clang::CodeGen::LValue)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp:1438:5
#38 0x0000000007f19831 (anonymous
namespace)::AggExprEmitter::EmitArrayInit(clang::CodeGen::Address,
llvm::ArrayType*, clang::QualType, clang::InitListExpr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp:549:16
#39 0x0000000007f19831 (anonymous
namespace)::AggExprEmitter::VisitInitListExpr(clang::InitListExpr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp:1498:0
#40 0x0000000007f13f2a clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::AggExprEmitter, void>::Visit(clang::Stmt*)
/home/xxx/data/git/llvm-project/build/tools/clang/include/clang/AST/StmtNodes.inc:1083:1
#41 0x0000000007f07dc8 (anonymous
namespace)::AggExprEmitter::Visit(clang::Expr*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp:108:3
#42 0x0000000007f07dc8 clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr
const*, clang::CodeGen::AggValueSlot)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGExprAgg.cpp:1873:0
#43 0x0000000007e6d397
clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*,
clang::ValueDecl const*, clang::CodeGen::LValue, bool)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGDecl.cpp:1923:5
#44 0x0000000007e66428
clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission
const&) /home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGDecl.cpp:0:12
#45 0x0000000007e5b2f4
clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGDecl.cpp:1286:3
#46 0x0000000007e5b2f4
clang::CodeGen::CodeGenFunction::EmitVarDecl(clang::VarDecl const&)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGDecl.cpp:200:0
#47 0x0000000007e5a122 clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl
const&) /home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGDecl.cpp:145:20
#48 0x000000000773418c
clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGStmt.cpp:0:0
#49 0x00000000077236a8
clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGStmt.cpp:378:33
#50 0x000000000771daf0 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt
const*, llvm::ArrayRef<clang::Attr const*>)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGStmt.cpp:53:7
#51 0x00000000077367c8
clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CGStmt.cpp:416:11
#52 0x0000000007841dec
clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1147:5
#53 0x0000000007843de2
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp:1322:7
#54 0x00000000078a5878
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl,
llvm::GlobalValue*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:4528:3
#55 0x000000000788f7dc
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl,
llvm::GlobalValue*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:2891:3
#56 0x0000000007899c6a
clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:2642:5
#57 0x00000000078ae3ef
clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CodeGenModule.cpp:5342:5
#58 0x00000000099efef7 (anonymous
namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/ModuleBuilder.cpp:169:35
#59 0x00000000099e69f6
clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef)
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:216:11
#60 0x000000000c81d02d clang::ParseAST(clang::Sema&, bool, bool)
/home/xxx/data/git/llvm-project/clang/lib/Parse/ParseAST.cpp:162:31
#61 0x000000000861c2a2 clang::ASTFrontendAction::ExecuteAction()
/home/xxx/data/git/llvm-project/clang/lib/Frontend/FrontendAction.cpp:1059:1
#62 0x00000000099decd8 clang::CodeGenAction::ExecuteAction()
/home/xxx/data/git/llvm-project/clang/lib/CodeGen/CodeGenAction.cpp:1184:28
#63 0x000000000861a51a clang::FrontendAction::Execute()
/home/xxx/data/git/llvm-project/clang/lib/Frontend/FrontendAction.cpp:954:10
#64 0x000000000854eaa7 llvm::Error::operator bool()
/home/xxx/data/git/llvm-project/llvm/include/llvm/Support/Error.h:0:0
#65 0x000000000854eaa7
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
/home/xxx/data/git/llvm-project/clang/lib/Frontend/CompilerInstance.cpp:984:0
#66 0x00000000088f183f clang::CompilerInstance::getFrontendOpts()
/home/xxx/data/git/llvm-project/clang/include/clang/Frontend/CompilerInstance.h:0:0
#67 0x00000000088f183f
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
/home/xxx/data/git/llvm-project/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:279:0
#68 0x0000000000b094cc llvm::TimeTraceScope::~TimeTraceScope()
/home/xxx/data/git/llvm-project/llvm/include/llvm/Support/TimeProfiler.h:0:0
#69 0x0000000000b094cc cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) /home/xxx/data/git/llvm-project/clang/tools/driver/cc1_main.cpp:241:0
#70 0x0000000000afaf3b ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&)
/home/xxx/data/git/llvm-project/clang/tools/driver/driver.cpp:330:12
#71 0x00000000082c1350
clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>
>, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >*, bool*) const::$_1::operator()() const
/home/xxx/data/git/llvm-project/clang/lib/Driver/Job.cpp:400:30
#72 0x00000000082c1350 void llvm::function_ref<void
()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>
>, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >*, bool*) const::$_1>(long)
/home/xxx/data/git/llvm-project/llvm/include/llvm/ADT/STLExtras.h:185:0
#73 0x0000000006c8767d
llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>)
/home/xxx/data/git/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:420:1
#74 0x00000000082bfbe7
clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>
>, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >*, bool*) const
/home/xxx/data/git/llvm-project/clang/lib/Driver/Job.cpp:400:12
#75 0x000000000822acca std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >::empty() const
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/basic_string.h:0:0
#76 0x000000000822acca
clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&,
clang::driver::Command const*&) const
/home/xxx/data/git/llvm-project/clang/lib/Driver/Compilation.cpp:196:0
#77 0x000000000822b754
clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&,
llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) const
/home/xxx/data/git/llvm-project/clang/lib/Driver/Compilation.cpp:246:19
#78 0x0000000008266f77 llvm::SmallVectorBase<unsigned int>::empty() const
/home/xxx/data/git/llvm-project/llvm/include/llvm/ADT/SmallVector.h:0:0
#79 0x0000000008266f77
clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&,
llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&)
/home/xxx/data/git/llvm-project/clang/lib/Driver/Driver.cpp:1509:0
#80 0x0000000000af95ae main
/home/xxx/data/git/llvm-project/clang/tools/driver/driver.cpp:502:21
#81 0x00007fbdb850eb97 __libc_start_main
/build/glibc-2ORdQG/glibc-2.27/csu/../csu/libc-start.c:344:0
#82 0x0000000000af38ea _start
(/data/xxx/git/llvm-project/build/bin/clang+0xaf38ea)
clang-11: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 11.1.0 (https://github.com/llvm/llvm-project.git
1fdec59bffc11ae37eb51a1b9869f0696bfd5312)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /data/xxx/git/llvm-project/build/bin
clang-11: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-11: note: diagnostic msg: /tmp/test-3f6824.c
clang-11: note: diagnostic msg: /tmp/test-3f6824.sh
clang-11: note: diagnostic msg:

********************

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210218/76122c60/attachment-0001.html>


More information about the llvm-bugs mailing list