<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - ExecuteSILPipelineRequest crash"
   href="https://bugs.llvm.org/show_bug.cgi?id=47894">47894</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>ExecuteSILPipelineRequest crash
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Frontend
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bartoszp@spotify.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>