[llvm-bugs] [Bug 47894] New: ExecuteSILPipelineRequest crash
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Oct 18 12:06:16 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47894
Bug ID: 47894
Summary: ExecuteSILPipelineRequest crash
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: bartoszp at spotify.com
CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
richard-llvm at metafoo.co.uk
Crash for Swift-development,
swift-DEVELOPMENT-SNAPSHOT-2020-10-07-a.xctoolchain:
I cannot correlate a source line that causes a crash - the input swift file is
very long (~7000 lines).
1. Apple Swift version 5.3-dev (LLVM 240312aa7333e90, Swift
15bf0478ad7c47c)
2. While evaluating request IRGenRequest(IR Generation for file
"/Absolutepath/Sourcefile.swift")
3. While evaluating request ExecuteSILPipelineRequest(Run pipelines {
IRGen Preparation } on SIL for SpotifyURI.SpotifyURI)
4. While running pass #1018 SILModuleTransform "LoadableByAddress".
0 swift-frontend 0x000000010ba86e45
llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
1 swift-frontend 0x000000010ba860a5 llvm::sys::RunSignalHandlers() +
85
2 swift-frontend 0x000000010ba87416 SignalHandler(int) + 262
3 libsystem_platform.dylib 0x00007fff72a745fd _sigtramp + 29
4 libsystem_platform.dylib 0x0000000000005a30 _sigtramp + 18446603338592621648
5 libsystem_c.dylib 0x00007fff7294a808 abort + 120
6 libsystem_c.dylib 0x00007fff72949ac6 err + 0
7 swift-frontend 0x000000010bde3393
swift::SILBuilder::createTuple(swift::SILLocation,
llvm::ArrayRef<swift::SILValue>) (.cold.1) + 35
8 swift-frontend 0x0000000107e291fb
swift::SILBuilder::createTuple(swift::SILLocation,
llvm::ArrayRef<swift::SILValue>) + 507
9 swift-frontend 0x00000001076dd0bc (anonymous
namespace)::LoadableByAddress::run() + 4364
10 swift-frontend 0x0000000107a995fe
swift::SILPassManager::runModulePass(unsigned int) + 558
11 swift-frontend 0x0000000107a9e01a swift::SILPassManager::execute()
+ 666
12 swift-frontend 0x0000000107a96398
swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan
const&) + 72
13 swift-frontend 0x0000000107a96333
swift::ExecuteSILPipelineRequest::evaluate(swift::Evaluator&,
swift::SILPipelineExecutionDescriptor) const + 51
14 swift-frontend 0x0000000107ab8a1d
swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<>
(swift::SILPipelineExecutionDescriptor),
(swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest
const&, swift::Evaluator&) + 29
15 swift-frontend 0x0000000107aa0607
llvm::Expected<swift::ExecuteSILPipelineRequest::OutputType>
swift::Evaluator::getResultUncached<swift::ExecuteSILPipelineRequest>(swift::ExecuteSILPipelineRequest
const&) + 375
16 swift-frontend 0x0000000107a965d2
swift::executePassPipelinePlan(swift::SILModule*, swift::SILPassPipelinePlan
const&, bool, swift::irgen::IRGenModule*) + 82
17 swift-frontend 0x000000010767f5f6
swift::IRGenRequest::evaluate(swift::Evaluator&, swift::IRGenDescriptor) const
+ 1846
18 swift-frontend 0x00000001076b4ced swift::GeneratedModule
swift::SimpleRequest<swift::IRGenRequest, swift::GeneratedModule
(swift::IRGenDescriptor),
(swift::RequestFlags)9>::callDerived<0ul>(swift::Evaluator&,
std::__1::integer_sequence<unsigned long, 0ul>) const + 157
19 swift-frontend 0x00000001076b4c0e
swift::SimpleRequest<swift::IRGenRequest, swift::GeneratedModule
(swift::IRGenDescriptor),
(swift::RequestFlags)9>::evaluateRequest(swift::IRGenRequest const&,
swift::Evaluator&) + 14
20 swift-frontend 0x0000000107689479
llvm::Expected<swift::IRGenRequest::OutputType>
swift::Evaluator::getResultUncached<swift::IRGenRequest>(swift::IRGenRequest
const&) + 345
21 swift-frontend 0x00000001076820fe
llvm::Expected<swift::IRGenRequest::OutputType>
swift::Evaluator::operator()<swift::IRGenRequest, (void*)0>(swift::IRGenRequest
const&) + 110
22 swift-frontend 0x00000001076822a9
swift::performIRGeneration(swift::FileUnit*, swift::IRGenOptions const&,
swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule,
std::__1::default_delete<swift::SILModule> >, llvm::StringRef,
swift::PrimarySpecificPaths const&, llvm::StringRef, llvm::GlobalVariable**) +
313
23 swift-frontend 0x00000001073ca92e
performCompileStepsPostSILGen(swift::CompilerInstance&,
std::__1::unique_ptr<swift::SILModule,
std::__1::default_delete<swift::SILModule> >,
llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>,
swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 2526
24 swift-frontend 0x00000001073c9c0e
performCompileStepsPostSema(swift::CompilerInstance&, int&,
swift::FrontendObserver*) + 350
25 swift-frontend 0x00000001073c1f9b
swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*,
swift::FrontendObserver*) + 4827
26 swift-frontend 0x0000000107358862 main + 866
27 libdyld.dylib 0x00007fff7287bcc9 start + 1
28 libdyld.dylib 0x0000000000000055 start + 18446603338594665357
--
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/20201018/5bfa40f1/attachment.html>
More information about the llvm-bugs
mailing list