Created
May 5, 2020 18:01
-
-
Save migueldeicaza/bdfee246a6baea13673fe088971298f8 to your computer and use it in GitHub Desktop.
My LLVM opcode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10) | |
* frame #0: 0x00000001008e32ac mlir-translate`llvm::FunctionType::getReturnType(this=0x0000000000000000) const at DerivedTypes.h:129:40 | |
frame #1: 0x00000001008e3135 mlir-translate`llvm::CallInst::CallInst(this=0x000000010741a020, Ty=0x0000000000000000, Func=0x0000000000000000, Args=ArrayRef<llvm::Value *> @ 0x00007ffeefbf9c58, Bundles=ArrayRef<llvm::OperandBundleDefT<llvm::Value *> > @ 0x00007ffeefbf9c80, NameStr=0x00007ffeefbf9e10, InsertBefore=0x0000000000000000) at Instructions.h:1632:20 | |
frame #2: 0x00000001008e3040 mlir-translate`llvm::CallInst::CallInst(this=0x000000010741a020, Ty=0x0000000000000000, Func=0x0000000000000000, Args=ArrayRef<llvm::Value *> @ 0x00007ffeefbf9cd0, Bundles=ArrayRef<llvm::OperandBundleDefT<llvm::Value *> > @ 0x00007ffeefbf9cf0, NameStr=0x00007ffeefbf9e10, InsertBefore=0x0000000000000000) at Instructions.h:1636:30 | |
frame #3: 0x00000001008e2d82 mlir-translate`llvm::CallInst::Create(Ty=0x0000000000000000, Func=0x0000000000000000, Args=ArrayRef<llvm::Value *> @ 0x00007ffeefbf9d98, Bundles=ArrayRef<llvm::OperandBundleDefT<llvm::Value *> > @ 0x00007ffeefbf9d88, NameStr=0x00007ffeefbf9e10, InsertBefore=0x0000000000000000) at Instructions.h:1447:9 | |
frame #4: 0x00000001008e2ba0 mlir-translate`llvm::IRBuilderBase::CreateCall(this=0x00007ffeefbfe5b0, FTy=0x0000000000000000, Callee=0x0000000000000000, Args=ArrayRef<llvm::Value *> @ 0x00007ffeefbf9e70, Name=0x00007ffeefbf9fc0, FPMathTag=0x0000000000000000) at IRBuilder.h:2302:20 | |
frame #5: 0x00000001008e2a80 mlir-translate`llvm::IRBuilderBase::CreateCall(this=0x00007ffeefbfe5b0, Callee=FunctionCallee @ 0x00007ffeefbf9ef0, Args=ArrayRef<llvm::Value *> @ 0x00007ffeefbf9ee0, Name=0x00007ffeefbf9fc0, FPMathTag=0x0000000000000000) at IRBuilder.h:2323:12 | |
frame #6: 0x0000000100898e81 mlir-translate`mlir::LLVM::ModuleTranslation::convertOperation(this=0x00007ffeefbfb5d0, op=0x0000000107418a10)::$_5::operator()(mlir::Operation&) const at ModuleTranslation.cpp:364:22 | |
frame #7: 0x00000001008927c5 mlir-translate`mlir::LLVM::ModuleTranslation::convertOperation(this=0x00007ffeefbfebb8, opInst=0x0000000107418a10, builder=0x00007ffeefbfe5b0) at ModuleTranslation.cpp:379:27 | |
frame #8: 0x0000000100899b0f mlir-translate`mlir::LLVM::ModuleTranslation::convertBlock(this=0x00007ffeefbfebb8, bb=0x0000000107418580, ignoreArguments=true) at ModuleTranslation.cpp:489:16 | |
frame #9: 0x000000010089b9fe mlir-translate`mlir::LLVM::ModuleTranslation::convertOneFunction(this=0x00007ffeefbfebb8, func=LLVMFuncOp @ 0x00007ffeefbfe980) at ModuleTranslation.cpp:742:16 | |
frame #10: 0x000000010089c721 mlir-translate`mlir::LLVM::ModuleTranslation::convertFunctions(this=0x00007ffeefbfebb8) at ModuleTranslation.cpp:785:16 | |
frame #11: 0x00000001008ddc3d mlir-translate`std::__1::unique_ptr<llvm::Module, std::__1::default_delete<llvm::Module> > mlir::LLVM::ModuleTranslation::translateModule<mlir::LLVM::ModuleTranslation>(m=0x0000000107417c60) at ModuleTranslation.h:66:27 | |
frame #12: 0x00000001008dfb8c mlir-translate`mlir::registerToLLVMIRTranslation(this=0x00000001074063a8, module=ModuleOp @ 0x00007ffeefbfecc0, output=0x0000000107406f40)::$_0::operator()(mlir::ModuleOp, llvm::raw_ostream&) const at ConvertToLLVMIR.cpp:32:27 | |
frame #13: 0x00000001008dfb3a mlir-translate`decltype(__f=0x00000001074063a8, __args=0x00007ffeefbfee50, __args=0x0000000107406f40)::$_0&>(fp)(std::__1::forward<mlir::ModuleOp>(fp0), std::__1::forward<llvm::raw_ostream&>(fp0))) std::__1::__invoke<mlir::registerToLLVMIRTranslation()::$_0&, mlir::ModuleOp, llvm::raw_ostream&>(mlir::registerToLLVMIRTranslation()::$_0&, mlir::ModuleOp&&, llvm::raw_ostream&) at type_traits:4425:1 | |
frame #14: 0x00000001008dfab7 mlir-translate`mlir::LogicalResult std::__1::__invoke_void_return_wrapper<mlir::LogicalResult>::__call<mlir::registerToLLVMIRTranslation(__args=0x00000001074063a8, __args=0x00007ffeefbfee50, __args=0x0000000107406f40)::$_0&, mlir::ModuleOp, llvm::raw_ostream&>(mlir::registerToLLVMIRTranslation()::$_0&, mlir::ModuleOp&&, llvm::raw_ostream&) at __functional_base:317:16 | |
frame #15: 0x00000001008dfa37 mlir-translate`std::__1::__function::__alloc_func<mlir::registerToLLVMIRTranslation()::$_0, std::__1::allocator<mlir::registerToLLVMIRTranslation()::$_0>, mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)>::operator(this=0x00000001074063a8, __arg=0x00007ffeefbfee50, __arg=0x0000000107406f40)(mlir::ModuleOp&&, llvm::raw_ostream&) at functional:1533:16 | |
frame #16: 0x00000001008de798 mlir-translate`std::__1::__function::__func<mlir::registerToLLVMIRTranslation()::$_0, std::__1::allocator<mlir::registerToLLVMIRTranslation()::$_0>, mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)>::operator(this=0x00000001074063a0, __arg=0x00007ffeefbfee50, __arg=0x0000000107406f40)(mlir::ModuleOp&&, llvm::raw_ostream&) at functional:1707:12 | |
frame #17: 0x000000010015d86a mlir-translate`std::__1::__function::__value_func<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)>::operator(this=0x00000001074063a0, __args=0x00007ffeefbfee50, __args=0x0000000107406f40)(mlir::ModuleOp&&, llvm::raw_ostream&) const at functional:1860:16 | |
frame #18: 0x000000010015d7c5 mlir-translate`std::__1::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)>::operator(this= Lambda in File ConvertToLLVMIR.cpp at Line 31, __arg=ModuleOp @ 0x00007ffeefbfee50, __arg=0x0000000107406f40)(mlir::ModuleOp, llvm::raw_ostream&) const at functional:2419:12 | |
frame #19: 0x000000010015d75c mlir-translate`mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(this=0x00000001074063a0, sourceMgr=0x00007ffeefbff170, output=0x0000000107406f40, context=0x00007ffeefbff1b0)> const&)::$_1::operator()(llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*) const at Translation.cpp:98:12 | |
frame #20: 0x000000010015d6bc mlir-translate`decltype(__f=0x00000001074063a0, __args=0x00007ffeefbff170, __args=0x0000000107406f40, __args=0x00007ffeefbff088)> const&)::$_1&>(fp)(std::__1::forward<llvm::SourceMgr&>(fp0), std::__1::forward<llvm::raw_ostream&>(fp0), std::__1::forward<mlir::MLIRContext*>(fp0))) std::__1::__invoke<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, std::__1::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)> const&)::$_1&, llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*>(mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, std::__1::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)> const&)::$_1&, llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*&&) at type_traits:4425:1 | |
frame #21: 0x000000010015d62c mlir-translate`mlir::LogicalResult std::__1::__invoke_void_return_wrapper<mlir::LogicalResult>::__call<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(__args=0x00000001074063a0, __args=0x00007ffeefbff170, __args=0x0000000107406f40, __args=0x00007ffeefbff088)> const&)::$_1&, llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*>(mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, std::__1::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)> const&)::$_1&, llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*&&) at __functional_base:317:16 | |
frame #22: 0x000000010015d5bc mlir-translate`std::__1::__function::__alloc_func<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, std::__1::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)> const&)::$_1, std::__1::allocator<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, std::__1::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)> const&)::$_1>, mlir::LogicalResult (llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator(this=0x00000001074063a0, __arg=0x00007ffeefbff170, __arg=0x0000000107406f40, __arg=0x00007ffeefbff088)(llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*&&) at functional:1533:16 | |
frame #23: 0x000000010015c43d mlir-translate`std::__1::__function::__func<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, std::__1::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)> const&)::$_1, std::__1::allocator<mlir::TranslateFromMLIRRegistration::TranslateFromMLIRRegistration(llvm::StringRef, std::__1::function<mlir::LogicalResult (mlir::ModuleOp, llvm::raw_ostream&)> const&)::$_1>, mlir::LogicalResult (llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator(this=0x0000000107406390, __arg=0x00007ffeefbff170, __arg=0x0000000107406f40, __arg=0x00007ffeefbff088)(llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*&&) at functional:1707:12 | |
frame #24: 0x000000010001e962 mlir-translate`std::__1::__function::__value_func<mlir::LogicalResult (llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator(this=0x00000001074061c0, __args=0x00007ffeefbff170, __args=0x0000000107406f40, __args=0x00007ffeefbff088)(llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*&&) const at functional:1860:16 | |
frame #25: 0x000000010001ceea mlir-translate`std::__1::function<mlir::LogicalResult (llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*)>::operator(this=0x00000001074061c0, __arg=0x00007ffeefbff170, __arg=0x0000000107406f40, __arg=0x00007ffeefbff1b0)(llvm::SourceMgr&, llvm::raw_ostream&, mlir::MLIRContext*) const at functional:2419:12 | |
frame #26: 0x0000000100002a5d mlir-translate`main::$_0::operator(this=0x00007ffeefbff238, ownedBuffer=unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> > @ 0x00007ffeefbff208, os=0x0000000107406f40)(std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> >, llvm::raw_ostream&) const at mlir-translate.cpp:95:14 | |
frame #27: 0x00000001000024b9 mlir-translate`main(argc=3, argv=0x00007ffeefbff668) at mlir-translate.cpp:111:16 | |
frame #28: 0x00007fff71293cc9 libdyld.dylib`start + 1 | |
frame #29: 0x00007fff71293cc9 libdyld.dylib`start + 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment