<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/63673>63673</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Crash (not sure the cause)
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          maximumsomething
      </td>
    </tr>
</table>

<pre>
    ```
Stack dump:
0.      Program arguments: /opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang++ @/Windisk/Users/Max/Documents/BugsWithAfterburners/Intermediate/Build/Linux/x64/UnrealEditor/Development/BugsWithAfterburners/GeneratedTerrain.cpp.d.response
1. <eof> parser at end of file
 #0 0x0000000001e4a0dc llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x1e4a0dc)
 #1 0x0000000001e482e4 llvm::sys::RunSignalHandlers() (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x1e482e4)
 #2 0x0000000001e488a1 llvm::sys::CleanupOnSignal(unsigned long) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x1e488a1)
 #3 0x0000000001dbefe8 CrashRecoverySignalHandler(int) CrashRecoveryContext.cpp:0:0
 #4 0x00007f9823236f90 (/lib/x86_64-linux-gnu/libc.so.6+0x3bf90)
 #5 0x000000000287d365 clang::ASTReader::FindExternalVisibleDeclsByName(clang::DeclContext const*, clang::DeclarationName) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x287d365)
 #6 0x000000000442f538 clang::DeclContext::makeDeclVisibleInContextImpl(clang::NamedDecl*, bool) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x442f538)
 #7 0x00000000044303c2 clang::DeclContext::makeDeclVisibleInContextWithFlags(clang::NamedDecl*, bool, bool) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x44303c2)
 #8 0x0000000003b30d0c clang::Sema::PushOnScopeChains(clang::NamedDecl*, clang::Scope*, bool) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x3b30d0c)
 #9 0x00000000039fa77b clang::Sema::Initialize() (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x39fa77b)
#10 0x00000000038f5ef8 clang::Parser::Initialize() (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x38f5ef8)
#11 0x00000000038e94af clang::ParseAST(clang::Sema&, bool, bool) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x38e94af)
#12 0x0000000002d13a15 clang::CodeGenAction::ExecuteAction() (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x2d13a15)
#13 0x0000000002761841 clang::FrontendAction::Execute() (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x2761841)
#14 0x0000000002704dfa clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x2704dfa)
#15 0x0000000002826603 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x2826603)
#16 0x0000000000a961d4 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0xa961d4)
#17 0x0000000000a8fa45 ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0
#18 0x00000000025ba2e5 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>>, std::string*, bool*) const::'lambda'()>(long) Job.cpp:0:0
#19 0x0000000001dbf0c3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x1dbf0c3)
#20 0x00000000025bc226 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>>, std::string*, bool*) const (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x25bc226)
#21 0x0000000002590359 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x2590359)
#22 0x0000000002590b90 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x2590b90)
#23 0x000000000259815f clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0x259815f)
#24 0x0000000000a93bc7 clang_main(int, char**) (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0xa93bc7)
#25 0x00007f982322218a __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:74:3
#26 0x00007f9823222245 call_init ./csu/../csu/libc-start.c:128:20
#27 0x00007f9823222245 __libc_start_main ./csu/../csu/libc-start.c:368:5
#28 0x0000000000a8f3d5 _start (/opt/Linux_Unreal_Engine_5.2.0/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v21_clang-15.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang+++0xa8f3d5)
```
This was with Unreal Engine, but clang's output told me to report it here.

I'm not sure what the cause was because it stopped happening after I did a clean rebuild of the project.

[GeneratedTerrain-be7267.zip](https://github.com/llvm/llvm-project/files/11952531/GeneratedTerrain-be7267.zip)


</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzcml9z4ygSwD8NeaGikkB_H_zgOPFu9vZ2piaZ3UcXklo2NwhUgBJnP_0VSImNx5nbvYerc1yJLSPopn_dQAvMjOFbCbBA2Q3Kbq_YaHdKL3q25_3YG9WD3XG5vapV-7JAeTz_xbcoXj5Y1nzD7dgPiC6nojjC_vVZq61mPWZ6O_YgrUF0iRFZq8Eisv6Vy3G_-So1MLG5k1suYZNFJIoRWU9f3cXeamYQWT_uuG4_M21fflP26x0i64fbf7gbPytjvag3kfs8RWT9RJJNI5jcXidZFEfJdQPSKlMgst6X-SZPr0f5TapneS1cq-utHBFZ11wisvbtELlB5Aaj1HXoDy5bbr4hsv5qQDu9_2RO461qZtPI-mbcmj-43S07C7oetZwq3ksLuoeWMwu-Fhfta19dZ3xvJwx3LbdKO7HwBEINTvL7gn8CCZpZaB9Ba8Zl1AxD1EYazKCkgckXSYQRXYHqEL3DA9MGNGYWg2yx6nDHxVwPI0JjHO_j11cCKYvbBgvx1DvP0qV5MdPFZ82l9X5_1KwBRMpDJc2eN8pYDaxHJEdkhbmzocKIlBfmekRu4v2MAZHqwCk54VQSSM9x-jLKB76VTPzMZCu808rLRuEsDVCQUxQlS86hWAlgchw-zUAQKUfp55wWC-W0XDSVkiUBFRpQaWvooMQrzczuCzTqCfRLEBeIlPMgCeqslLSwt25YI7qM_f-binRWUXR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