[llvm-bugs] [Bug 45597] New: Frontend crash with -O1 and -sanitize=object-size

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Apr 18 05:55:01 PDT 2020


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

            Bug ID: 45597
           Summary: Frontend crash with -O1 and -sanitize=object-size
           Product: clang
           Version: 10.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: john at mcfarlane.name
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

Created attachment 23388
  --> https://bugs.llvm.org/attachment.cgi?id=23388&action=edit
run script, /tmp/integer-3770d0.sh

When optimizer is enabled, this single UBSan check consistently causes a crash
for some (larger) inputs.

# Repro

Two salient options seem to be -O1 and -sanitize=object-size. (-O2 and -O3 also
cause crash; -O0 does not.) I've provided the simplest preprocessed input that
is currently causing this for me.

# Build

LLVM built on Ubuntu 19.04 Desktop x86-64 at SHA 4c6e5899859. This also occurs
on stock (apt) clang-9 but not on clang-8.

# Output is:

- - - - - - - - - - - - - - - - >8 - - - - - - - - - - - - - - - -
clang version 10.0.0 (https://github.com/llvm/llvm-project.git
4c6e5899859651d5f0907fc4d5752e616c1598c3)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/9
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
Candidate multilib: .;@m64
Selected multilib: .;@m64
(in-process)
"/home/john/llvm/bin/clang-10" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj
-disable-free -disable-llvm-verifier -discard-value-names -main-file-name
integer.cpp -mrelocation-model static -mthread-model posix -mframe-pointer=none
-fmath-errno -fno-rounding-math -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -dwarf-column-info -fno-split-dwarf-inlining
-debugger-tuning=gdb -v -resource-dir /home/john/llvm/lib/clang/10.0.0 -isystem
/home/john/.conan/data/gtest/1.8.1/bincrafters/stable/package/def9bf6e03568b3736845f4591358d37ed3dd921/include
-D CNL_BOOST_ENABLED -I
/home/john/.conan/data/benchmark/1.5.0/johnmcfarlane/stable/package/66378947c01141014f9578e457a8467f8489a4e1/include
-I /home/john/ws/rounding-overflow/cnl/test/unit -I
/home/john/ws/rounding-overflow/cnl/include -D NDEBUG -internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9
-internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/backward
-internal-isystem /usr/local/include -internal-isystem
/home/john/llvm/lib/clang/10.0.0/include -internal-externc-isystem
/usr/include/x86_64-linux-gnu -internal-externc-isystem /include
-internal-externc-isystem /usr/include -O1 -Wconversion -Wno-sign-conversion
-fdeprecated-macro -fdebug-compilation-dir
/home/john/ws/rounding-overflow/sanitize-clang/test/unit -ferror-limit 19
-ftemplate-backtrace-limit 0 -fmessage-length 0 -fsanitize=object-size
-fsanitize-recover=object-size -fgnuc-version=4.2.1 -fobjc-runtime=gcc
-fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-faddrsig -o
CMakeFiles/Test-scaled_integer-rounding-elastic-integer.dir/scaled_integer/rounding/elastic/integer.cpp.o
-x c++
/home/john/ws/rounding-overflow/cnl/test/unit/scaled_integer/rounding/elastic/integer.cpp
clang -cc1 version 10.0.0 based upon LLVM 10.0.0 default target
x86_64-unknown-linux-gnu
ignoring nonexistent directory "/include"
ignoring duplicate directory
"/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9"
#include "..." search starts here:
#include <...> search starts here:
/home/john/.conan/data/benchmark/1.5.0/johnmcfarlane/stable/package/66378947c01141014f9578e457a8467f8489a4e1/include
/home/john/ws/rounding-overflow/cnl/test/unit
/home/john/ws/rounding-overflow/cnl/include
/home/john/.conan/data/gtest/1.8.1/bincrafters/stable/package/def9bf6e03568b3736845f4591358d37ed3dd921/include
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9
/usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/backward
/usr/local/include
/home/john/llvm/lib/clang/10.0.0/include
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
Stack dump:
0.      Program arguments: /usr/bin/c++ -DCNL_BOOST_ENABLED
-I/home/john/.conan/data/benchmark/1.5.0/johnmcfarlane/stable/package/66378947c01141014f9578e457a8467f8489a4e1/include
-I/home/john/ws/rounding-overflow/cnl/test/unit
-I/home/john/ws/rounding-overflow/cnl/include -isystem
/home/john/.conan/data/gtest/1.8.1/bincrafters/stable/package/def9bf6e03568b3736845f4591358d37ed3dd921/include
-O3 -DNDEBUG -v -O1 -Wconversion -Wno-sign-conversion
-ftemplate-backtrace-limit=0 -fsanitize=object-size -o
CMakeFiles/Test-scaled_integer-rounding-elastic-integer.dir/scaled_integer/rounding/elastic/integer.cpp.o
-c
/home/john/ws/rounding-overflow/cnl/test/unit/scaled_integer/rounding/elastic/integer.cpp
1.      <eof> parser at end of file
2.      Per-file LLVM IR generation
3.     
/home/john/ws/rounding-overflow/cnl/include/cnl/_impl/number/shift_operator.h:30:38:
Generating code for declaration 'cnl::shift_operator<cnl::_impl::shift_left_op,
cnl::_impl::native_tag, cnl::_impl::native_tag,
cnl::_impl::number<cnl::elastic_integer<1, int>, cnl::native_rounding_tag>,
cnl::constant<20>, void>::operator()'
#0 0x00000000018ddafd llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/bin/c+++0x18ddafd)
#1 0x00000000018dd559 llvm::sys::CleanupOnSignal(unsigned long)
(/usr/bin/c+++0x18dd559)
#2 0x0000000001885ca2 (anonymous
namespace)::CrashRecoveryContextImpl::HandleCrash(int, unsigned long)
(/usr/bin/c+++0x1885ca2)
#3 0x0000000001885dbc CrashRecoverySignalHandler(int) (/usr/bin/c+++0x1885dbc)
#4 0x00007fa3c2a52540 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x15540)
#5 0x0000000002c8324d clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::StmtPrinter, void>::Visit(clang::Stmt*) (/usr/bin/c+++0x2c8324d)
#6 0x0000000002c8433d clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::StmtPrinter, void>::Visit(clang::Stmt*) (/usr/bin/c+++0x2c8433d)
#7 0x0000000002c82987 clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::StmtPrinter, void>::Visit(clang::Stmt*) (/usr/bin/c+++0x2c82987)
#8 0x0000000002c825e5 clang::Stmt::printPretty(llvm::raw_ostream&,
clang::PrinterHelper*, clang::PrintingPolicy const&, unsigned int,
llvm::StringRef, clang::ASTContext const*) const (/usr/bin/c+++0x2c825e5)
#9 0x0000000002c8d414 clang::TemplateArgument::print(clang::PrintingPolicy
const&, llvm::raw_ostream&) const (/usr/bin/c+++0x2c8d414)
#10 0x0000000002cac1f7 void
printTo<clang::TemplateArgument>(llvm::raw_ostream&,
llvm::ArrayRef<clang::TemplateArgument>, clang::PrintingPolicy const&, bool)
(/usr/bin/c+++0x2cac1f7)
#11 0x0000000002caf33c (anonymous
namespace)::TypePrinter::printTemplateSpecializationBefore(clang::TemplateSpecializationType
const*, llvm::raw_ostream&) (/usr/bin/c+++0x2caf33c)
#12 0x0000000002cad83b (anonymous
namespace)::TypePrinter::printBefore(clang::Type const*, clang::Qualifiers,
llvm::raw_ostream&) (/usr/bin/c+++0x2cad83b)
#13 0x0000000002caccc8 (anonymous namespace)::TypePrinter::print(clang::Type
const*, clang::Qualifiers, llvm::raw_ostream&, llvm::StringRef)
(/usr/bin/c+++0x2caccc8)
#14 0x0000000002cacc71 clang::QualType::print(clang::Type const*,
clang::Qualifiers, llvm::raw_ostream&, clang::PrintingPolicy const&,
llvm::Twine const&, unsigned int) (/usr/bin/c+++0x2cacc71)
#15 0x0000000002cabf6f void
printTo<clang::TemplateArgumentLoc>(llvm::raw_ostream&,
llvm::ArrayRef<clang::TemplateArgumentLoc>, clang::PrintingPolicy const&, bool)
(/usr/bin/c+++0x2cabf6f)
#16 0x0000000002c86951 clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::StmtPrinter, void>::Visit(clang::Stmt*) (/usr/bin/c+++0x2c86951)
#17 0x0000000002c89113 (anonymous
namespace)::StmtPrinter::VisitCallExpr(clang::CallExpr*)
(/usr/bin/c+++0x2c89113)
#18 0x0000000002c825e5 clang::Stmt::printPretty(llvm::raw_ostream&,
clang::PrinterHelper*, clang::PrintingPolicy const&, unsigned int,
llvm::StringRef, clang::ASTContext const*) const (/usr/bin/c+++0x2c825e5)
#19 0x0000000002cada09 (anonymous
namespace)::TypePrinter::printBefore(clang::Type const*, clang::Qualifiers,
llvm::raw_ostream&) (/usr/bin/c+++0x2cada09)
#20 0x0000000002caccc8 (anonymous namespace)::TypePrinter::print(clang::Type
const*, clang::Qualifiers, llvm::raw_ostream&, llvm::StringRef)
(/usr/bin/c+++0x2caccc8)
#21 0x0000000002cacb18 clang::QualType::getAsStringInternal(clang::Type const*,
clang::Qualifiers, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >&, clang::PrintingPolicy const&) (/usr/bin/c+++0x2cacb18)
#22 0x0000000002caca10
clang::QualType::getAsString[abi:cxx11](clang::PrintingPolicy const&) const
(/usr/bin/c+++0x2caca10)
#23 0x0000000002b02e2f
ConvertTypeToDiagnosticString[abi:cxx11](clang::ASTContext&, clang::QualType,
llvm::ArrayRef<std::pair<clang::DiagnosticsEngine::ArgumentKind, long> >,
llvm::ArrayRef<long>) (/usr/bin/c+++0x2b02e2f)
#24 0x0000000002b02a12
clang::FormatASTNodeDiagnosticArgument(clang::DiagnosticsEngine::ArgumentKind,
long, llvm::StringRef, llvm::StringRef,
llvm::ArrayRef<std::pair<clang::DiagnosticsEngine::ArgumentKind, long> >,
llvm::SmallVectorImpl<char>&, void*, llvm::ArrayRef<long>)
(/usr/bin/c+++0x2b02a12)
#25 0x0000000001b54790
clang::CodeGen::CodeGenFunction::EmitCheckTypeDescriptor(clang::QualType)
(/usr/bin/c+++0x1b54790)
#26 0x0000000001b53a64
clang::CodeGen::CodeGenFunction::EmitTypeCheck(clang::CodeGen::CodeGenFunction::TypeCheckKind,
clang::SourceLocation, llvm::Value*, clang::QualType, clang::CharUnits,
clang::SanitizerSet, llvm::Value*) (/usr/bin/c+++0x1b53a64)
#27 0x0000000001b533ae
clang::CodeGen::CodeGenFunction::EmitReferenceBindingToExpr(clang::Expr const*)
(/usr/bin/c+++0x1b533ae)
#28 0x0000000001b2a7df
clang::CodeGen::CodeGenFunction::EmitCallArg(clang::CodeGen::CallArgList&,
clang::Expr const*, clang::QualType) (/usr/bin/c+++0x1b2a7df)
#29 0x0000000001b2a3c5
clang::CodeGen::CodeGenFunction::EmitCallArgs(clang::CodeGen::CallArgList&,
llvm::ArrayRef<clang::QualType>,
llvm::iterator_range<clang::Stmt::CastIterator<clang::Expr, clang::Expr const*
const, clang::Stmt const* const> >,
clang::CodeGen::CodeGenFunction::AbstractCallee, unsigned int,
clang::CodeGen::CodeGenFunction::EvaluationOrder) (/usr/bin/c+++0x1b2a3c5)
#30 0x0000000001a95cac void
clang::CodeGen::CodeGenFunction::EmitCallArgs<clang::FunctionProtoType>(clang::CodeGen::CallArgList&,
clang::FunctionProtoType const*,
llvm::iterator_range<clang::Stmt::CastIterator<clang::Expr, clang::Expr const*
const, clang::Stmt const* const> >,
clang::CodeGen::CodeGenFunction::AbstractCallee, unsigned int,
clang::CodeGen::CodeGenFunction::EvaluationOrder) (/usr/bin/c+++0x1a95cac)
#31 0x0000000001b61ddf
clang::CodeGen::CodeGenFunction::EmitCall(clang::QualType,
clang::CodeGen::CGCallee const&, clang::CallExpr const*,
clang::CodeGen::ReturnValueSlot, llvm::Value*) (/usr/bin/c+++0x1b61ddf)
#32 0x0000000001b6139f
clang::CodeGen::CodeGenFunction::EmitCallExpr(clang::CallExpr const*,
clang::CodeGen::ReturnValueSlot) (/usr/bin/c+++0x1b6139f)
#33 0x0000000001b69e66 (anonymous
namespace)::AggExprEmitter::withReturnValueSlot(clang::Expr const*,
llvm::function_ref<clang::CodeGen::RValue (clang::CodeGen::ReturnValueSlot)>)
(/usr/bin/c+++0x1b69e66)
#34 0x0000000001b6700a (anonymous
namespace)::AggExprEmitter::VisitCallExpr(clang::CallExpr const*)
(/usr/bin/c+++0x1b6700a)
#35 0x0000000001b63b4b (anonymous
namespace)::AggExprEmitter::Visit(clang::Expr*) (/usr/bin/c+++0x1b63b4b)
#36 0x0000000001b63b4b (anonymous
namespace)::AggExprEmitter::Visit(clang::Expr*) (/usr/bin/c+++0x1b63b4b)
#37 0x0000000001b63b0d clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr
const*, clang::CodeGen::AggValueSlot) (/usr/bin/c+++0x1b63b0d)
#38 0x0000000001b6c995
clang::CodeGen::CodeGenFunction::EmitCXXConstructExpr(clang::CXXConstructExpr
const*, clang::CodeGen::AggValueSlot) (/usr/bin/c+++0x1b6c995)
#39 0x0000000001b6563c clang::StmtVisitorBase<std::add_pointer, (anonymous
namespace)::AggExprEmitter, void>::Visit(clang::Stmt*) (/usr/bin/c+++0x1b6563c)
#40 0x0000000001b63b4b (anonymous
namespace)::AggExprEmitter::Visit(clang::Expr*) (/usr/bin/c+++0x1b63b4b)
#41 0x0000000001b63b0d clang::CodeGen::CodeGenFunction::EmitAggExpr(clang::Expr
const*, clang::CodeGen::AggValueSlot) (/usr/bin/c+++0x1b63b0d)
#42 0x0000000001a07dd8
clang::CodeGen::CodeGenFunction::EmitReturnStmt(clang::ReturnStmt const&)
(/usr/bin/c+++0x1a07dd8)
#43 0x0000000001a0bb42
clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
const&, bool, clang::CodeGen::AggValueSlot) (/usr/bin/c+++0x1a0bb42)
#44 0x0000000001a35609
clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*)
(/usr/bin/c+++0x1a35609)
#45 0x0000000001a35c11
clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
llvm::Function*, clang::CodeGen::CGFunctionInfo const&)
(/usr/bin/c+++0x1a35c11)
#46 0x0000000001a4713b
clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl,
llvm::GlobalValue*) (/usr/bin/c+++0x1a4713b)
#47 0x0000000001a43862
clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl,
llvm::GlobalValue*) (/usr/bin/c+++0x1a43862)
#48 0x0000000001a3d36d clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d36d)
#49 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#50 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#51 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#52 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#53 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#54 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#55 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#56 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#57 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#58 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#59 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#60 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#61 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#62 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#63 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#64 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#65 0x0000000001a3d395 clang::CodeGen::CodeGenModule::EmitDeferred()
(/usr/bin/c+++0x1a3d395)
#66 0x0000000001a3c8be clang::CodeGen::CodeGenModule::Release()
(/usr/bin/c+++0x1a3c8be)
#67 0x0000000002079591 (anonymous
namespace)::CodeGeneratorImpl::HandleTranslationUnit(clang::ASTContext&)
(/usr/bin/c+++0x2079591)
#68 0x0000000002077808
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&)
(/usr/bin/c+++0x2077808)
#69 0x0000000002571602 clang::ParseAST(clang::Sema&, bool, bool)
(/usr/bin/c+++0x2571602)
#70 0x0000000001cf6b52 clang::FrontendAction::Execute()
(/usr/bin/c+++0x1cf6b52)
#71 0x0000000001cc9b65
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&)
(/usr/bin/c+++0x1cc9b65)
#72 0x0000000001d5e002
clang::ExecuteCompilerInvocation(clang::CompilerInstance*)
(/usr/bin/c+++0x1d5e002)
#73 0x0000000000902cde cc1_main(llvm::ArrayRef<char const*>, char const*,
void*) (/usr/bin/c+++0x902cde)
#74 0x0000000000901700 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&)
(/usr/bin/c+++0x901700)
#75 0x0000000001c323e6 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) (/usr/bin/c+++0x1c323e6)
#76 0x0000000001885c2d
llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>)
(/usr/bin/c+++0x1885c2d)
#77 0x0000000001c31c28
clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>
>, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> >*, bool*) const (/usr/bin/c+++0x1c31c28)
#78 0x0000000001c17ae2
clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&,
clang::driver::Command const*&) const (/usr/bin/c+++0x1c17ae2)
#79 0x0000000001c17c06
clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&,
llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) const
(/usr/bin/c+++0x1c17c06)
#80 0x0000000001c23723
clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&,
llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&)
(/usr/bin/c+++0x1c23723)
#81 0x0000000000901212 main (/usr/bin/c+++0x901212)
#82 0x00007fa3c24bd1e3 __libc_start_main
/build/glibc-t7JzpG/glibc-2.30/csu/../csu/libc-start.c:342:3
#83 0x00000000008ff57e _start (/usr/bin/c+++0x8ff57e)
clang-10: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 10.0.0 (https://github.com/llvm/llvm-project.git
4c6e5899859651d5f0907fc4d5752e616c1598c3)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang-10: 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-10: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-10: note: diagnostic msg: /tmp/integer-3770d0.cpp
clang-10: note: diagnostic msg: /tmp/integer-3770d0.sh
clang-10: note: diagnostic msg:

********************
- - - - - - - - - - - - - - - - >8 - - - - - - - - - - - - - - - -

# Attachments:

Preprocessed source file, /tmp/integer-3770d0.cpp, exceeds 1000KB limit and can
be found at:
https://gist.githubusercontent.com/johnmcfarlane/bff998de7be6e6b8564e70adcf0fd9d2/raw/912b304cc91b1e568d01060f79e09eea21eea455/integer-3770d0.cpp

/tmp/integer-3770d0.sh is attached

-- 
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/20200418/f99f6e03/attachment-0001.html>


More information about the llvm-bugs mailing list