Skip to content

Instantly share code, notes, and snippets.

@ailzhang
Created April 15, 2020 20:00
Show Gist options
  • Save ailzhang/99f966d2ca5c6d985c783c2d6888e255 to your computer and use it in GitHub Desktop.
Save ailzhang/99f966d2ca5c6d985c783c2d6888e255 to your computer and use it in GitHub Desktop.
clang9 build error
0.Program arguments: /usr/lib/llvm-9/bin/clang -cc1 -triple x86_64-pc-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -discard-value-names -main-file-name SobolEngineOps.cpp -mrelocation-model pic -pic-level 2 -mthread-mod
el posix -fno-trapping-math -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -dwarf-column-info -debugger-tuning=gdb -momit-leaf-frame-pointer -coverage-notes-file /var/lib/jenkins/pytorch/bui
ld/caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOps.cpp.gcno -resource-dir /usr/lib/llvm-9/lib/clang/9.0.0 -isystem /var/lib/jenkins/pytorch/build/third_party/gloo -isystem /var/lib/jenkins/pytorch/cmake/../th
ird_party/gloo -isystem /var/lib/jenkins/pytorch/cmake/../third_party/googletest/googlemock/include -isystem /var/lib/jenkins/pytorch/cmake/../third_party/googletest/googletest/include -isystem /var/lib/jenkins/pytorch/third_party/
protobuf/src -isystem /opt/conda/include -isystem /var/lib/jenkins/pytorch/third_party/gemmlowp -isystem /var/lib/jenkins/pytorch/third_party/neon2sse -isystem /var/lib/jenkins/pytorch/third_party/XNNPACK/include -isystem /var/lib$
jenkins/pytorch/third_party -isystem /var/lib/jenkins/pytorch/cmake/../third_party/eigen -isystem /opt/conda/include/python3.6m -isystem /opt/conda/lib/python3.6/site-packages/numpy/core/include -isystem /var/lib/jenkins/pytorch/cm
ake/../third_party/pybind11/include -isystem /opt/rocm/hip/include -isystem /include -isystem /var/lib/jenkins/pytorch/third_party/ideep/mkl-dnn/include -isystem /var/lib/jenkins/pytorch/third_party/ideep/include -isystem /var/lib/
jenkins/pytorch/build/include -D AT_PARALLEL_OPENMP=1 -D CPUINFO_SUPPORTED_PLATFORM=1 -D FXDIV_USE_INLINE_ASSEMBLY=0 -D HAVE_MALLOC_USABLE_SIZE=1 -D HAVE_MMAP=1 -D HAVE_SHM_OPEN=1 -D HAVE_SHM_UNLINK=1 -D IDEEP_USE_MKL -D MINIZ_DISA
BLE_ZIP_READER_CRC32_CHECKS -D NNP_CONVOLUTION_ONLY=0 -D NNP_INFERENCE_ONLY=0 -D ONNXIFI_ENABLE_EXT=1 -D ONNX_ML=1 -D ONNX_NAMESPACE=onnx_torch -D TH_BLAS_MKL -D USE_DISTRIBUTED -D _FILE_OFFSET_BITS=64 -D torch_cpu_EXPORTS -I /var/
lib/jenkins/pytorch/build/aten/src -I /var/lib/jenkins/pytorch/aten/src -I /var/lib/jenkins/pytorch/build -I /var/lib/jenkins/pytorch -I /var/lib/jenkins/pytorch/cmake/../third_party/benchmark/include -I /var/lib/jenkins/pytorch/bu
ild/caffe2/contrib/aten -I /var/lib/jenkins/pytorch/third_party/onnx -I /var/lib/jenkins/pytorch/build/third_party/onnx -I /var/lib/jenkins/pytorch/third_party/foxi -I /var/lib/jenkins/pytorch/build/third_party/foxi -I /var/lib/jen
kins/pytorch/caffe2/../torch/csrc/api -I /var/lib/jenkins/pytorch/caffe2/../torch/csrc/api/include -I /var/lib/jenkins/pytorch/caffe2/aten/src/TH -I /var/lib/jenkins/pytorch/build/caffe2/aten/src/TH -I /var/lib/jenkins/pytorch/caff
e2/../torch/../aten/src -I /var/lib/jenkins/pytorch/build/caffe2/aten/src -I /var/lib/jenkins/pytorch/build/caffe2/../aten/src -I /var/lib/jenkins/pytorch/build/caffe2/../aten/src/ATen -I /var/lib/jenkins/pytorch/caffe2/../torch/cs
rc -I /var/lib/jenkins/pytorch/caffe2/../torch/../third_party/miniz-2.0.8 -I /var/lib/jenkins/pytorch/aten/src/TH -I /var/lib/jenkins/pytorch/aten/../third_party/catch/single_include -I /var/lib/jenkins/pytorch/aten/src/ATen/.. -I
/var/lib/jenkins/pytorch/build/caffe2/aten/src/ATen -I /var/lib/jenkins/pytorch/third_party/miniz-2.0.8 -I /var/lib/jenkins/pytorch/caffe2/core/nomnigraph/include -I /var/lib/jenkins/pytorch/third_party/FXdiv/include -I /var/lib/je
nkins/pytorch/c10/.. -I /var/lib/jenkins/pytorch/build/third_party/ideep/mkl-dnn/include -I /var/lib/jenkins/pytorch/third_party/ideep/mkl-dnn/src/../include -I /var/lib/jenkins/pytorch/third_party/cpuinfo/include -I /var/lib/jenki
ns/pytorch/third_party/QNNPACK/include -I /var/lib/jenkins/pytorch/third_party/pthreadpool/include -I /var/lib/jenkins/pytorch/aten/src/ATen/native/quantized/cpu/qnnpack/include -I /var/lib/jenkins/pytorch/aten/src/ATen/native/quan
tized/cpu/qnnpack/src -I /var/lib/jenkins/pytorch/third_party/cpuinfo/deps/clog/include -I /var/lib/jenkins/pytorch/third_party/NNPACK/include -I /var/lib/jenkins/pytorch/third_party/fbgemm/include -I /var/lib/jenkins/pytorch/third
_party/fbgemm -I /var/lib/jenkins/pytorch/third_party/fbgemm/third_party/asmjit/src -I /var/lib/jenkins/pytorch/third_party/FP16/include -D NDEBUG -D USE_FBGEMM -D USE_QNNPACK -D USE_PYTORCH_QNNPACK -D USE_XNNPACK -D USE_INTERNAL_T
HREADPOOL_IMPL -D HAVE_AVX_CPU_DEFINITION -D HAVE_AVX2_CPU_DEFINITION -D NDEBUG -D NDEBUG -D CAFFE2_USE_GLOO -D HAVE_GCC_GET_CPUID -D USE_AVX -D USE_AVX2 -D TH_HAVE_THREAD -D CAFFE2_BUILD_MAIN_LIB -D ASMJIT_STATIC -internal-isystem
/usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/x86_64-linux-gnu/c++/7.5.0 -internal-isystem /usr/bin/../lib/gcc/x86_64-linu
x-gnu/7.5.0/../../../../include/x86_64-linux-gnu/c++/7.5.0 -internal-isystem /usr/bin/../lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/backward -internal-isystem /usr/local/include -internal-isystem /usr/lib/llvm-9/l
ib/clang/9.0.0/include -internal-externc-isystem /usr/include/x86_64-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Wno-deprecated -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-miss
ing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-erro
r=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-invalid-partial-specialization -Wno-typedef-redefinition -Wno-unknown-warning-option -Wno-unused-private-field -Wno-inconsisten
t-missing-override -Wno-aligned-allocation-unavailable -Wno-c++14-extensions -Wno-constexpr-not-const -Wno-missing-braces -Wno-unused-but-set-variable -Wno-maybe-uninitialized -Werror=format -Wall -Wextra -Wno-unused-parameter -Wno
-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-missing-braces -Wno-maybe-uninitialized -std=gnu++14 -fdebug-compilation-dir /var/lib/jenkins/pytorch/build/caffe2 -ferror-limit 19 -fmessage-length 0 -fvisib
ility hidden -fvisibility-inlines-hidden -fopenmp -pthread -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -faddrsig -o CMakeFiles/torch_cpu.dir/__/aten
/src/ATen/native/SobolEngineOps.cpp.o -x c++ /var/lib/jenkins/pytorch/aten/src/ATen/native/SobolEngineOps.cpp
1.<eof> parser at end of file
2./var/lib/jenkins/pytorch/aten/src/ATen/native/SobolEngineOps.cpp:9:11: LLVM IR generation of declaration 'at'
3./var/lib/jenkins/pytorch/aten/src/ATen/native/SobolEngineOps.cpp:123:9: Generating code for declaration 'at::native::_sobol_engine_initialize_state_'
4./var/lib/jenkins/pytorch/aten/src/ATen/native/SobolEngineOps.cpp:132:43: LLVM IR generation of compound statement ('{}')
5./var/lib/jenkins/pytorch/aten/src/ATen/native/SobolEngineOps.cpp:136:37: LLVM IR generation of compound statement ('{}')
#0 0x00007fa04a6a535f llvm::sys::PrintStackTrace(llvm::raw_ostream&) (/usr/lib/x86_64-linux-gnu/libLLVM-9.so.1+0xa3835f)
#1 0x00007fa04a6a3780 llvm::sys::RunSignalHandlers() (/usr/lib/x86_64-linux-gnu/libLLVM-9.so.1+0xa36780)
#2 0x00007fa04a6a5761 (/usr/lib/x86_64-linux-gnu/libLLVM-9.so.1+0xa38761)
#3 0x00007fa05032a890 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x12890)
#4 0x00007fa04a7e29a2 llvm::PointerType::get(llvm::Type*, unsigned int) (/usr/lib/x86_64-linux-gnu/libLLVM-9.so.1+0xb759a2)
#5 0x00007fa04f0c6afa getType /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/IR/Value.h:244:34
#6 0x00007fa04f0c6afa getGEPReturnType /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/IR/Instructions.h:1046:14
#7 0x00007fa04f0c6a4c GetElementPtrInst /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/IR/Instructions.h:1113:66
#8 0x00007fa04f0c6a4c Create /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/IR/Instructions.h:913:25
#9 0x00007fa04f14603a CreateInBounds /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/IR/Instructions.h:947:9
#10 0x00007fa04f14603a CreateInBoundsGEP /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/IR/IRBuilder.h:1713:19
#11 0x00007fa04f1c8afc CreateInBoundsGEP /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/IR/IRBuilder.h:1698:12
#12 0x00007fa04f1c8afc clang::CodeGen::CodeGenFunction::EmitCheckedInBoundsGEP(llvm::Value*, llvm::ArrayRef<llvm::Value*>, bool, bool, clang::SourceLocation, llvm::Twine const&) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/too
ls/clang/lib/CodeGen/CGExprScalar.cpp:4542:27
#13 0x00007fa04f19847b emitArraySubscriptGEP /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:3367:16
#14 0x00007fa04f19847b emitArraySubscriptGEP /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:3425:14
#15 0x00007fa04f18b4c5 clang::CodeGen::CodeGenFunction::EmitArraySubscriptExpr(clang::ArraySubscriptExpr const*, bool) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:3570:12
#16 0x00007fa04f18ad4a clang::CodeGen::CodeGenFunction::EmitArraySubscriptExpr(clang::ArraySubscriptExpr const*, bool) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:3564:17
#17 0x00007fa04f182b46 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:1341:12
#18 0x00007fa04f189f7a clang::CodeGen::CodeGenFunction::EmitCheckedLValue(clang::Expr const*, clang::CodeGen::CodeGenFunction::TypeCheckKind) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:0:0
#19 0x00007fa04f1c99da Visit /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/include/clang/AST/StmtVisitor.h:0:0
#20 0x00007fa04f1d3c1b VisitCastExpr /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExprScalar.cpp:0:0
#21 0x00007fa04f1c230f Visit /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExprScalar.cpp:424:52
#22 0x00007fa04f1c230f clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExprScalar.cpp:4436:8
#23 0x00007fa04f1824d8 clang::CodeGen::CodeGenFunction::EmitAnyExpr(clang::Expr const*, clang::CodeGen::AggValueSlot, bool) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:199:24
#24 0x00007fa04f18b868 clang::CodeGen::CodeGenFunction::EmitBinaryOperatorLValue(clang::BinaryOperator const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:4616:17
#25 0x00007fa04f182b59 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:1257:12
#26 0x00007fa04f182960 isSimple /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGValue.h:251:41
#27 0x00007fa04f182960 clang::CodeGen::CodeGenFunction::EmitLValue(clang::Expr const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:1306:12
#28 0x00007fa04f182451 clang::CodeGen::CodeGenFunction::EmitIgnoredExpr(clang::Expr const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGExpr.cpp:188:1
#29 0x00007fa04f2a6116 GetInsertBlock /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/IR/IRBuilder.h:126:47
#30 0x00007fa04f2a6116 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:114:42
#31 0x00007fa04f2af3fc clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.c
pp:390:22
#32 0x00007fa04f2ae998 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:376:10
#33 0x00007fa04f2a66e6 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:349:33
#34 0x00007fa04f2a603b clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:49:7
#35 0x00007fa04f2a86b2 ForceCleanup /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenFunction.h:755:28
#36 0x00007fa04f2a86b2 ~RunCleanupsScope /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenFunction.h:739:9
#37 0x00007fa04f2a86b2 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef<clang::Attr const*>) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:923:3
#38 0x00007fa04f2a6267 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:142:32
#39 0x00007fa04f2af3fc clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.c
#39 0x00007fa04f2af3fc clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.c
pp:390:22
#40 0x00007fa04f2ae998 clang::CodeGen::CodeGenFunction::EmitCompoundStmt(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:376:10
#41 0x00007fa04f2a66e6 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:349:33
#42 0x00007fa04f2a603b clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:49:7
#43 0x00007fa04f2a86b2 ForceCleanup /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenFunction.h:755:28
#44 0x00007fa04f2a86b2 ~RunCleanupsScope /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenFunction.h:739:9
#45 0x00007fa04f2a86b2 clang::CodeGen::CodeGenFunction::EmitForStmt(clang::ForStmt const&, llvm::ArrayRef<clang::Attr const*>) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:923:3
#46 0x00007fa04f2a6267 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*, llvm::ArrayRef<clang::Attr const*>) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.cpp:142:32
#47 0x00007fa04f2af3fc clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt const&, bool, clang::CodeGen::AggValueSlot) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CGStmt.c
pp:390:22
#48 0x00007fa04f2e9ee2 clang::CodeGen::CodeGenFunction::EmitFunctionBody(clang::Stmt const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenFunction.cpp:1036:1
#49 0x00007fa04f2ea70f getLangOpts /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenFunction.h:1630:51
#50 0x00007fa04f2ea70f clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenFuncti
on.cpp:1208:7
#51 0x00007fa04f301b8e clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenModule.cpp:4320:3
#52 0x00007fa04f2fc14f ~TimeTraceScope /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/Support/TimeProfiler.h:69:35
#53 0x00007fa04f2fc14f clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenModule.cpp:2760:3
#54 0x00007fa04f304302 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenModule.cpp:5128:5
#55 0x00007fa04f30769b getPointer /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/ADT/PointerIntPair.h:58:58
#56 0x00007fa04f30769b getNextDeclInContext /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/include/clang/AST/DeclBase.h:435:62
#57 0x00007fa04f30769b operator++ /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/include/clang/AST/DeclBase.h:2005:26
#58 0x00007fa04f30769b clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenModule.cpp:5100:16
#59 0x00007fa04f30769b getPointer /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/ADT/PointerIntPair.h:58:58
#60 0x00007fa04f30769b getNextDeclInContext /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/include/clang/AST/DeclBase.h:435:62
#61 0x00007fa04f30769b operator++ /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/include/clang/AST/DeclBase.h:2005:26
#62 0x00007fa04f30769b clang::CodeGen::CodeGenModule::EmitDeclContext(clang::DeclContext const*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenModule.cpp:5100:16
#63 0x00007fa04f36c13f HandleTopLevelDecl /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/ModuleBuilder.cpp:161:73
#64 0x00007fa04f2e2a42 HandleTopLevelDecl /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/CodeGen/CodeGenAction.cpp:172:11
#65 0x00007fa04e612994 clang::ParseAST(clang::Sema&, bool, bool) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/Parse/ParseAST.cpp:162:11
#66 0x00007fa04f8b44c8 clang::FrontendAction::Execute() /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/Frontend/FrontendAction.cpp:938:10
#67 0x00007fa04f873ce0 getPtr /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/Support/Error.h:273:42
#68 0x00007fa04f873ce0 operator bool /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/include/llvm/Support/Error.h:236:16
#69 0x00007fa04f873ce0 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/Frontend/CompilerInstance.cpp:944:23
#70 0x00007fa04f917210 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) /build/llvm-toolchain-9-uSl4bC/llvm-toolchain-9-9/tools/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp:291:25
#71 0x0000000000498a5b cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/lib/llvm-9/bin/clang+0x498a5b)
#72 0x0000000000496d71 main (/usr/lib/llvm-9/bin/clang+0x496d71)
#73 0x00007fa048f5eb97 __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:344:0
#74 0x00000000004941ea _start (/usr/lib/llvm-9/bin/clang+0x4941ea)
clang: error: unable to execute command: Segmentation fault (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment