[llvm-bugs] [Bug 39325] New: Assertion `CondCount.hasValue() && "missing expected loop condition count"' failed.

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Oct 16 08:51:50 PDT 2018


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

            Bug ID: 39325
           Summary: Assertion `CondCount.hasValue() && "missing expected
                    loop condition count"' failed.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: milind at uber.com
                CC: dgregor at apple.com, llvm-bugs at lists.llvm.org

Created attachment 21011
  --> https://bugs.llvm.org/attachment.cgi?id=21011&action=edit
Log produced by the crash

When compiling SPEC CPU 2017 644.nab_s peak with profile-guided optimization,
the following assertion fires on the trunk Clang.

NOTE: I have provided files produced by the crash but they may not be helpful
because the bug will not reproduce on these new files since it is a bug in the
profile-guided optimization. However, the call stack seems sufficient to fix
the problem.

clang-8: LLVM/llvm/tools/clang/lib/CodeGen/CodeGenPGO.cpp:1049: llvm::MDNode*
clang::CodeGen::CodeGenFunction::createProfileWeightsForLoop(const
clang::Stmt*, uint64_t): Assertion `CondCount.hasValue() && "missing expected
loop condition count"' failed.

Command: clang -m64 -c -o sff.o -DSPEC -DNDEBUG -Ispecrand -Iregex-alpha
-DNDEBUG -DNOPERFLIB -DNOREDUCE     -g -Ofast -mavx   
-fprofile-instr-use=/home/xxx/software/specCPU2017-install/profiles/644.nab_s.aggregated.profile
     -DSPEC_OPENMP -fopenmp -Wno-return-type -DUSE_OPENMP -I
/home/xxx/software/openmp-install//include    -DSPEC_LP64  sff.c




clang-8:
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenPGO.cpp:1049:
llvm::MDNode*
clang::CodeGen::CodeGenFunction::createProfileWeightsForLoop(const
clang::Stmt*, uint64_t): Assertion `CondCount.hasValue() && "missing expected
loop condition count"' failed.
Stack dump:
0.      Program arguments: /home/xxx/software/LLVM-install/bin/clang-8 -cc1
-triple x86_64-unknown-linux-gnu -emit-llvm-bc -emit-llvm-uselists
-save-temps=cwd -disable-free -main-file-name sff.c -mrelocation-model static
-mthread-model posix -menable-no-infs -menable-no-nans -menable-unsafe-fp-math
-fno-signed-zeros -mreassociate -freciprocal-math -fno-trapping-math
-ffp-contract=fast -ffast-math -ffinite-math-only -masm-verbose
-mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64
-target-feature +avx -dwarf-column-info -debug-info-kind=limited
-dwarf-version=4 -debugger-tuning=gdb -momit-leaf-frame-pointer
-fprofile-instrument-use-path=/home/xxx/software/specCPU2017-install/profiles/644.nab_s.aggregated.profile
-coverage-notes-file
/home/xxx/software/specCPU2017-install/benchspec/CPU/644.nab_s/build/build_peak_mytest-m64.0000/sff.gcno
-resource-dir /home/xxx/software/LLVM-install/lib/clang/8.0.0 -Ofast
-Wno-return-type -fdebug-compilation-dir
/home/xxx/software/specCPU2017-install/benchspec/CPU/644.nab_s/build/build_peak_mytest-m64.0000
-ferror-limit 19 -fmessage-length 231 -fopenmp -fobjc-runtime=gcc
-fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp
-disable-llvm-passes -o sff.bc -x cpp-output sff.i -faddrsig 
1.      <eof> parser at end of file
2.      Per-file LLVM IR generation
3.      ./eff.c:1484:8: Generating code for declaration 'egb'
4.      ./eff.c:1700:2: LLVM IR generation of compound statement ('{}')
5.      ./eff.c:1740:35: LLVM IR generation of compound statement ('{}')
#0 0x00000000049bd9d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/home/xxx/software/LLVM/llvm/lib/Support/Unix/Signals.inc:490:0
#1 0x00000000049bda69 PrintStackTraceSignalHandler(void*)
/home/xxx/software/LLVM/llvm/lib/Support/Unix/Signals.inc:554:0
#2 0x00000000049bba6d llvm::sys::RunSignalHandlers()
/home/xxx/software/LLVM/llvm/lib/Support/Signals.cpp:67:0
#3 0x00000000049bd479 SignalHandler(int)
/home/xxx/software/LLVM/llvm/lib/Support/Unix/Signals.inc:353:0
#4 0x00007f16102da890 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0xf890)
#5 0x00007f160eee2067 gsignal
/build/glibc-6V9RKT/glibc-2.19/signal/../nptl/sysdeps/unix/sysv/linux/raise.c:56:0
#6 0x00007f160eee3448 abort /build/glibc-6V9RKT/glibc-2.19/stdlib/abort.c:91:0
#7 0x00007f160eedb266 __assert_fail_base
/build/glibc-6V9RKT/glibc-2.19/assert/assert.c:92:0
#8 0x00007f160eedb312 (/lib/x86_64-linux-gnu/libc.so.6+0x2e312)
#9 0x0000000004e8f730
clang::CodeGen::CodeGenFunction::createProfileWeightsForLoop(clang::Stmt
const*, unsigned long)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenPGO.cpp:1050:0
#10 0x0000000004d1d380
clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&,
llvm::ArrayRef<clang::Attr const*>)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:885:0
#11 0x0000000004d1a4f2 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt
const*, llvm::ArrayRef<clang::Attr const*>)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:146:0
#12 0x0000000004d1b137
clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:388:0
#13 0x0000000004d1b06f
clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&,
bool, clang::CodeGen::AggValueSlot)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:380:0
#14 0x0000000004d1ae6e
clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:353:0
#15 0x0000000004d1a1f3 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt
const*, llvm::ArrayRef<clang::Attr const*>)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:53:0
#16 0x0000000004d3d72e
clang::CodeGen::CodeGenFunction::EmitOMPLoopBody(clang::OMPLoopDirective
const&, clang::CodeGen::CodeGenFunction::JumpDest)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1321:0
#17 0x0000000004d3f99b
emitOMPLoopBodyWithStopPoint(clang::CodeGen::CodeGenFunction&,
clang::OMPLoopDirective const&, clang::CodeGen::CodeGenFunction::JumpDest)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1667:0
#18 0x0000000004d6b50b void llvm::function_ref<void
(clang::CodeGen::CodeGenFunction&, clang::OMPLoopDirective const&,
clang::CodeGen::CodeGenFunction::JumpDest)>::callback_fn<void
(clang::CodeGen::CodeGenFunction&, clang::OMPLoopDirective const&,
clang::CodeGen::CodeGenFunction::JumpDest)>(long,
clang::CodeGen::CodeGenFunction&, clang::OMPLoopDirective const&,
clang::CodeGen::CodeGenFunction::JumpDest)
/home/xxx/software/LLVM/llvm/include/llvm/ADT/STLExtras.h:117:0
#19 0x0000000004d634b2 llvm::function_ref<void
(clang::CodeGen::CodeGenFunction&, clang::OMPLoopDirective const&,
clang::CodeGen::CodeGenFunction::JumpDest)>::operator()(clang::CodeGen::CodeGenFunction&,
clang::OMPLoopDirective const&, clang::CodeGen::CodeGenFunction::JumpDest)
const /home/xxx/software/LLVM/llvm/include/llvm/ADT/STLExtras.h:133:0
#20 0x0000000004d40306 clang::CodeGen::CodeGenFunction::EmitOMPOuterLoop(bool,
bool, clang::OMPLoopDirective const&,
clang::CodeGen::CodeGenFunction::OMPPrivateScope&,
clang::CodeGen::CodeGenFunction::OMPLoopArguments const&,
llvm::function_ref<void (clang::CodeGen::CodeGenFunction&,
clang::OMPLoopDirective const&, clang::CodeGen::CodeGenFunction::JumpDest)>
const&, llvm::function_ref<void (clang::CodeGen::CodeGenFunction&,
clang::SourceLocation, unsigned int, bool)>
const&)::'lambda'(clang::CodeGen::CodeGenFunction&)::operator()(clang::CodeGen::CodeGenFunction&)
const
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1849:0
#21 0x0000000004d55d50 void llvm::function_ref<void
(clang::CodeGen::CodeGenFunction&)>::callback_fn<clang::CodeGen::CodeGenFunction::EmitOMPOuterLoop(bool,
bool, clang::OMPLoopDirective const&,
clang::CodeGen::CodeGenFunction::OMPPrivateScope&,
clang::CodeGen::CodeGenFunction::OMPLoopArguments const&,
llvm::function_ref<void (clang::CodeGen::CodeGenFunction&,
clang::OMPLoopDirective const&, clang::CodeGen::CodeGenFunction::JumpDest)>
const&, llvm::function_ref<void (clang::CodeGen::CodeGenFunction&,
clang::SourceLocation, unsigned int, bool)>
const&)::'lambda'(clang::CodeGen::CodeGenFunction&)>(long,
clang::CodeGen::CodeGenFunction&)
/home/xxx/software/LLVM/llvm/include/llvm/ADT/STLExtras.h:118:0
#22 0x0000000004d5fd1b llvm::function_ref<void
(clang::CodeGen::CodeGenFunction&)>::operator()(clang::CodeGen::CodeGenFunction&)
const /home/xxx/software/LLVM/llvm/include/llvm/ADT/STLExtras.h:134:0
#23 0x0000000004d3db1c
clang::CodeGen::CodeGenFunction::EmitOMPInnerLoop(clang::Stmt const&, bool,
clang::Expr const*, clang::Expr const*, llvm::function_ref<void
(clang::CodeGen::CodeGenFunction&)>, llvm::function_ref<void
(clang::CodeGen::CodeGenFunction&)>)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1364:0
#24 0x0000000004d40a69 clang::CodeGen::CodeGenFunction::EmitOMPOuterLoop(bool,
bool, clang::OMPLoopDirective const&,
clang::CodeGen::CodeGenFunction::OMPPrivateScope&,
clang::CodeGen::CodeGenFunction::OMPLoopArguments const&,
llvm::function_ref<void (clang::CodeGen::CodeGenFunction&,
clang::OMPLoopDirective const&, clang::CodeGen::CodeGenFunction::JumpDest)>
const&, llvm::function_ref<void (clang::CodeGen::CodeGenFunction&,
clang::SourceLocation, unsigned int, bool)> const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1853:0
#25 0x0000000004d41079
clang::CodeGen::CodeGenFunction::EmitOMPForOuterLoop(clang::OpenMPScheduleTy
const&, bool, clang::OMPLoopDirective const&,
clang::CodeGen::CodeGenFunction::OMPPrivateScope&, bool,
clang::CodeGen::CodeGenFunction::OMPLoopArguments const&,
llvm::function_ref<std::pair<llvm::Value*, llvm::Value*>
(clang::CodeGen::CodeGenFunction&, clang::OMPExecutableDirective const&,
clang::CodeGen::Address, clang::CodeGen::Address)> const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1981:0
#26 0x0000000004d4324b
clang::CodeGen::CodeGenFunction::EmitOMPWorksharingLoop(clang::OMPLoopDirective
const&, clang::Expr*, llvm::function_ref<std::pair<clang::CodeGen::LValue,
clang::CodeGen::LValue> (clang::CodeGen::CodeGenFunction&,
clang::OMPExecutableDirective const&)> const&,
llvm::function_ref<std::pair<llvm::Value*, llvm::Value*>
(clang::CodeGen::CodeGenFunction&, clang::OMPExecutableDirective const&,
clang::CodeGen::Address, clang::CodeGen::Address)> const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:2372:0
#27 0x0000000004d4399f
clang::CodeGen::CodeGenFunction::EmitOMPForDirective(clang::OMPForDirective
const&)::'lambda'(clang::CodeGen::CodeGenFunction&,
clang::CodeGen::PrePostActionTy&)::operator()(clang::CodeGen::CodeGenFunction&,
clang::CodeGen::PrePostActionTy&) const
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:2445:0
#28 0x0000000004d5608b void
clang::CodeGen::RegionCodeGenTy::CallbackFn<clang::CodeGen::CodeGenFunction::EmitOMPForDirective(clang::OMPForDirective
const&)::'lambda'(clang::CodeGen::CodeGenFunction&,
clang::CodeGen::PrePostActionTy&)>(long, clang::CodeGen::CodeGenFunction&,
clang::CodeGen::PrePostActionTy&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:75:0
#29 0x000000000516a5a5
clang::CodeGen::RegionCodeGenTy::operator()(clang::CodeGen::CodeGenFunction&)
const
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:742:0
#30 0x000000000516db7e (anonymous
namespace)::CGOpenMPRegionInfo::EmitBody(clang::CodeGen::CodeGenFunction&,
clang::Stmt const*)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:1177:0
#31 0x000000000518e702
clang::CodeGen::CGOpenMPRuntime::emitInlinedDirective(clang::CodeGen::CodeGenFunction&,
clang::OpenMPDirectiveKind, clang::CodeGen::RegionCodeGenTy const&, bool)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:6167:0
#32 0x0000000004d43aaa
clang::CodeGen::CodeGenFunction::EmitOMPForDirective(clang::OMPForDirective
const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:2450:0
#33 0x0000000004d1a790 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt
const*, llvm::ArrayRef<clang::Attr const*>)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:203:0
#34 0x0000000004d1b137
clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:388:0
#35 0x0000000004d1b06f
clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&,
bool, clang::CodeGen::AggValueSlot)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:380:0
#36 0x0000000004d1ae6e
clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:353:0
#37 0x0000000004d1a1f3 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt
const*, llvm::ArrayRef<clang::Attr const*>)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:53:0
#38 0x0000000004d3d36c
clang::CodeGen::CodeGenFunction::EmitOMPParallelDirective(clang::OMPParallelDirective
const&)::'lambda'(clang::CodeGen::CodeGenFunction&,
clang::CodeGen::PrePostActionTy&)::operator()(clang::CodeGen::CodeGenFunction&,
clang::CodeGen::PrePostActionTy&) const
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1291:0
#39 0x0000000004d55b09 void
clang::CodeGen::RegionCodeGenTy::CallbackFn<clang::CodeGen::CodeGenFunction::EmitOMPParallelDirective(clang::OMPParallelDirective
const&)::'lambda'(clang::CodeGen::CodeGenFunction&,
clang::CodeGen::PrePostActionTy&)>(long, clang::CodeGen::CodeGenFunction&,
clang::CodeGen::PrePostActionTy&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.h:75:0
#40 0x000000000516a5a5
clang::CodeGen::RegionCodeGenTy::operator()(clang::CodeGen::CodeGenFunction&)
const
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:742:0
#41 0x000000000516db7e (anonymous
namespace)::CGOpenMPRegionInfo::EmitBody(clang::CodeGen::CodeGenFunction&,
clang::Stmt const*)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:1177:0
#42 0x0000000004d38556
clang::CodeGen::CodeGenFunction::GenerateOpenMPCapturedStmtFunction(clang::CapturedStmt
const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:581:0
#43 0x000000000516ef5e
emitParallelOrTeamsOutlinedFunction(clang::CodeGen::CodeGenModule&,
clang::OMPExecutableDirective const&, clang::CapturedStmt const*,
clang::VarDecl const*, clang::OpenMPDirectiveKind, llvm::StringRef,
clang::CodeGen::RegionCodeGenTy const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:1356:0
#44 0x000000000516f001
clang::CodeGen::CGOpenMPRuntime::emitParallelOutlinedFunction(clang::OMPExecutableDirective
const&, clang::VarDecl const*, clang::OpenMPDirectiveKind,
clang::CodeGen::RegionCodeGenTy const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp:1364:0
#45 0x0000000004d3ce6d
emitCommonOMPParallelDirective(clang::CodeGen::CodeGenFunction&,
clang::OMPExecutableDirective const&, clang::OpenMPDirectiveKind,
clang::CodeGen::RegionCodeGenTy const&, llvm::function_ref<void
(clang::CodeGen::CodeGenFunction&, clang::OMPExecutableDirective const&,
llvm::SmallVectorImpl<llvm::Value*>&)> const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1233:0
#46 0x0000000004d3d433
clang::CodeGen::CodeGenFunction::EmitOMPParallelDirective(clang::OMPParallelDirective
const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmtOpenMP.cpp:1296:0
#47 0x0000000004d1a74a clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt
const*, llvm::ArrayRef<clang::Attr const*>)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:197:0
#48 0x0000000004d1b137
clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CGStmt.cpp:388:0
#49 0x0000000004d938c4
clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::CodeGen::FunctionArgList&,
clang::Stmt const*)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:1195:0
#50 0x0000000004d94444
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenFunction.cpp:1360:0
#51 0x0000000004db8824
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl,
llvm::GlobalValue*)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:3899:0
#52 0x0000000004db26bd
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl,
llvm::GlobalValue*)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:2445:0
#53 0x0000000004dafa2a clang::CodeGen::CodeGenModule::EmitDeferred()
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:1838:0
#54 0x0000000004dafa78 clang::CodeGen::CodeGenModule::EmitDeferred()
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:1840:0
#55 0x0000000004da78d4 clang::CodeGen::CodeGenModule::Release()
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenModule.cpp:395:0
#56 0x00000000058d7675 (anonymous
namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/ModuleBuilder.cpp:258:0
#57 0x00000000058d1380
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp:239:0
#58 0x0000000006c90b9c clang::ParseAST(clang::Sema&, bool, bool)
/home/xxx/software/LLVM/llvm/tools/clang/lib/Parse/ParseAST.cpp:177:0
#59 0x00000000053be2d4 clang::ASTFrontendAction::ExecuteAction()
/home/xxx/software/LLVM/llvm/tools/clang/lib/Frontend/FrontendAction.cpp:1018:0
#60 0x00000000058cf93a clang::CodeGenAction::ExecuteAction()
/home/xxx/software/LLVM/llvm/tools/clang/lib/CodeGen/CodeGenAction.cpp:1045:0
#61 0x00000000053bdce3 clang::FrontendAction::Execute()
/home/xxx/software/LLVM/llvm/tools/clang/lib/Frontend/FrontendAction.cpp:919:0
#62 0x000000000534f17e
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
/home/xxx/software/LLVM/llvm/tools/clang/lib/Frontend/CompilerInstance.cpp:965:0
#63 0x000000000550fe04
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
/home/xxx/software/LLVM/llvm/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:258:0
#64 0x00000000025609a0 cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) /home/xxx/software/LLVM/llvm/tools/clang/tools/driver/cc1_main.cpp:218:0
#65 0x00000000025562e7 ExecuteCC1Tool(llvm::ArrayRef<char const*>,
llvm::StringRef)
/home/xxx/software/LLVM/llvm/tools/clang/tools/driver/driver.cpp:310:0
#66 0x0000000002556fcb main
/home/xxx/software/LLVM/llvm/tools/clang/tools/driver/driver.cpp:382:0
#67 0x00007f160eeceb45 __libc_start_main
/build/glibc-6V9RKT/glibc-2.19/csu/libc-start.c:321:0
#68 0x0000000002553e89 _start
(/home/xxx/software/LLVM-install/bin/clang-8+0x2553e89)
clang-8: error: unable to execute command: Aborted (core dumped)
clang-8: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 8.0.0 (https://git.llvm.org/git/clang.git/
fdf912d06464afcf9274cb2c81f25b589bd4dae7) (https://git.llvm.org/git/llvm.git/
53979264b2ea63e93269b47d061815dffabb37c2)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/xxx/software/LLVM-install//bin
clang-8: note: diagnostic msg: PLEASE submit a bug report to
https://bugs.llvm.org/ and include the crash backtrace, preprocessed source,
and associated run script.
clang-8: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-8: note: diagnostic msg: /tmp/sff-88f2c5.c
clang-8: note: diagnostic msg: /tmp/sff-88f2c5.sh
clang-8: 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/20181016/0bc890e1/attachment-0001.html>


More information about the llvm-bugs mailing list